 | PdfiumFPDFShadingType2_GetCoords Method |
Get the starting and ending coordinates of the axis.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static bool FPDFShadingType2_GetCoords(
IntPtr shadding_pattern,
out float x0,
out float y0,
out float x1,
out float y1
)
Public Shared Function FPDFShadingType2_GetCoords (
shadding_pattern As IntPtr,
<OutAttribute> ByRef x0 As Single,
<OutAttribute> ByRef y0 As Single,
<OutAttribute> ByRef x1 As Single,
<OutAttribute> ByRef y1 As Single
) As Boolean
public:
static bool FPDFShadingType2_GetCoords(
IntPtr shadding_pattern,
[OutAttribute] float% x0,
[OutAttribute] float% y0,
[OutAttribute] float% x1,
[OutAttribute] float% y1
)
static member FPDFShadingType2_GetCoords :
shadding_pattern : IntPtr *
x0 : float32 byref *
y0 : float32 byref *
x1 : float32 byref *
y1 : float32 byref -> bool
public static boolean FPDFShadingType2_GetCoords(
IntPtr shadding_pattern,
/** @attribute OutAttribute */ /** @ref */float x0,
/** @attribute OutAttribute */ /** @ref */float y0,
/** @attribute OutAttribute */ /** @ref */float x1,
/** @attribute OutAttribute */ /** @ref */float y1
)
Patagames.Pdf.Pdfium.FPDFShadingType2_GetCoords = function(shadding_pattern, x0, y0, x1, 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
BooleanTrue for successful; false if any error has occurred.
Remarks Note |
---|
Only applicable to Type 2 (Axial) shadings (AxialShading). |
See Also