Click or drag to resize

PdfiumFPDFShadingType2_GetCoords Method

Get 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_GetCoords(
	IntPtr shadding_pattern,
	out float x0,
	out float y0,
	out float x1,
	out 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