Click or drag to resize

PdfiumFPDFShadingType3_SetCoords Method

Set the centers and radii of the starting and ending circles

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static bool FPDFShadingType3_SetCoords(
	IntPtr shadding_pattern,
	float x0,
	float y0,
	float r0,
	float x1,
	float y1,
	float 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

Boolean
True 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.
Note  Note
Only applicable to Type 3 (Radial) shadings (RadialShading).
See Also