 | PdfiumFPDFShadingType3_SetCoords Method |
Set the centers and radii of the starting and ending circles
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static bool FPDFShadingType3_SetCoords(
IntPtr shadding_pattern,
float x0,
float y0,
float r0,
float x1,
float y1,
float r1
)
Public Shared Function FPDFShadingType3_SetCoords (
shadding_pattern As IntPtr,
x0 As Single,
y0 As Single,
r0 As Single,
x1 As Single,
y1 As Single,
r1 As Single
) As Boolean
public:
static bool FPDFShadingType3_SetCoords(
IntPtr shadding_pattern,
float x0,
float y0,
float r0,
float x1,
float y1,
float r1
)
static member FPDFShadingType3_SetCoords :
shadding_pattern : IntPtr *
x0 : float32 *
y0 : float32 *
r0 : float32 *
x1 : float32 *
y1 : float32 *
r1 : float32 -> bool
public static boolean FPDFShadingType3_SetCoords(
IntPtr shadding_pattern,
float x0,
float y0,
float r0,
float x1,
float y1,
float r1
)
Patagames.Pdf.Pdfium.FPDFShadingType3_SetCoords = function(shadding_pattern, x0, y0, r0, x1, y1, r1);
Parameters
- shadding_pattern IntPtr
- The handle to the shading pattern.
- x0 Single
- The X coordinate of the center of starting circle, expressed in the shading’s target coordinate space.
- y0 Single
- The Y coordinate of the center of starting circle, expressed in the shading’s target coordinate space.
- r0 Single
- The radius of starting circle, expressed in the shading’s target coordinate space.
- x1 Single
- The X coordinate of the center of ending circle, expressed in the shading’s target coordinate space.
- y1 Single
- The Y coordinate of the center of ending circle, expressed in the shading’s target coordinate space.
- r1 Single
- The radius of starting circle, expressed in the shading’s target coordinate space.
Return Value
BooleanTrue for successful; false if any error has occurred.
Remarks
The radii r0 and r1 must both be greater than or equal to 0. If one radius is 0, the corresponding circle is treated as a point; if both are 0, nothing is painted.
See Also