 | PdfiumFPDFShadingType2_SetCoords Method |
Set 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_SetCoords(
IntPtr shadding_pattern,
float x0,
float y0,
float x1,
float y1
)
Public Shared Function FPDFShadingType2_SetCoords (
shadding_pattern As IntPtr,
x0 As Single,
y0 As Single,
x1 As Single,
y1 As Single
) As Boolean
public:
static bool FPDFShadingType2_SetCoords(
IntPtr shadding_pattern,
float x0,
float y0,
float x1,
float y1
)
static member FPDFShadingType2_SetCoords :
shadding_pattern : IntPtr *
x0 : float32 *
y0 : float32 *
x1 : float32 *
y1 : float32 -> bool
public static boolean FPDFShadingType2_SetCoords(
IntPtr shadding_pattern,
float x0,
float y0,
float x1,
float y1
)
Patagames.Pdf.Pdfium.FPDFShadingType2_SetCoords = 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