Click or drag to resize

PdfiumFPDFShadingType2_SetCoords Method

Set the starting and ending coordinates of the axis.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static bool FPDFShadingType2_SetCoords(
	IntPtr shadding_pattern,
	float x0,
	float y0,
	float x1,
	float y1
)

Parameters

shadding_pattern  IntPtr
The handle to the shading pattern.
x0  Single
The X coordinate of the starting point of the axis, expressed in the shading’s target coordinate space.
y0  Single
The Y coordinate of the starting point of the axis, expressed in the shading’s target coordinate space.
x1  Single
The X coordinate of the ending point of the axis, expressed in the shading’s target coordinate space.
y1  Single
The Y coordinate of the ending point of the axis, expressed in the shading’s target coordinate space.

Return Value

Boolean
True for successful; false if any error has occurred.
Remarks
Note  Note
Only applicable to Type 2 (Axial) shadings (AxialShading).
See Also