 | PdfiumFPDFShadingPattern_GetDomain Method |
Get the shading's domain.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static float[] FPDFShadingPattern_GetDomain(
IntPtr shadding_pattern
)
Public Shared Function FPDFShadingPattern_GetDomain (
shadding_pattern As IntPtr
) As Single()
public:
static array<float>^ FPDFShadingPattern_GetDomain(
IntPtr shadding_pattern
)
static member FPDFShadingPattern_GetDomain :
shadding_pattern : IntPtr -> float32[]
public static float[] FPDFShadingPattern_GetDomain(
IntPtr shadding_pattern
)
Patagames.Pdf.Pdfium.FPDFShadingPattern_GetDomain = function(shadding_pattern);
Parameters
- shadding_pattern IntPtr
- The handle to the shading pattern.
Return Value
SingleAn array of numbers depending on the specific type of shading; null if any error has occurred.
RemarksFunctionBasedShading | An 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]. |
AxialShading | An 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]. |
RadialShading | An 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] |
FreeFormGouraudTriangleMeshShading | Unsupported. |
LatticeFormGouraudTriangleMeshShading | Unsupported. |
CoonsPatchMeshShading | Unsupported. |
TensorProductPatchMeshShading | Unsupported. |
See Also