Click or drag to resize

PdfiumFPDFShadingPattern_GetDomain Method

Get the shading's domain.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static float[] FPDFShadingPattern_GetDomain(
	IntPtr shadding_pattern
)

Parameters

shadding_pattern  IntPtr
The handle to the shading pattern.

Return Value

Single
An array of numbers depending on the specific type of shading; null if any error has occurred.
Remarks
FunctionBasedShadingAn array of four numbers [Xmin Xmax Ymin Ymax] specifying the rectangular domain of coordinates over which the color function(s) are defined; null if any error has occurred. Default value: [0.0 1.0 0.0 1.0].
AxialShadingAn array of two numbers [t0 t1] specifying the limiting values of a parametric variable t. 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). Default value: [0.0 1.0].
RadialShadingAn array of two numbers [t0 t1] specifying the limiting values of a parametric variable t. The variable is considered to vary linearly between these two values as the color gradient varies between the starting and ending circles. The variable t becomes the input argument to the color function(s). Default value: [0.0 1.0]
FreeFormGouraudTriangleMeshShadingUnsupported.
LatticeFormGouraudTriangleMeshShadingUnsupported.
CoonsPatchMeshShadingUnsupported.
TensorProductPatchMeshShadingUnsupported.
See Also