Click or drag to resize

PdfiumFPDFShadingType2_GetDomain Method

Get the limiting values of a parametric variable t.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static bool FPDFShadingType2_GetDomain(
	IntPtr shadding_pattern,
	out float t0,
	out float t1
)

Parameters

shadding_pattern  IntPtr
The handle to the shading pattern.
t0  Single
The minimum value of a parametric variable t.
t1  Single
The minimum value of a parametric variable t.

Return Value

Boolean
True for successful; false if any error has occurred.
Remarks
The variable is considered to vary linearly between these two values as the color gradient varies between the starting and ending points of the axis. The variable t becomes the input argument to the color function(s).
Note  Note
Only applicable to Type 2 (Axial) shadings (AxialShading).
See Also