 | PdfiumFPDFShadingType2_SetDomain Method |
Set the limiting values of a parametric variable t.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static bool FPDFShadingType2_SetDomain(
IntPtr shadding_pattern,
float t0,
float t1
)
Public Shared Function FPDFShadingType2_SetDomain (
shadding_pattern As IntPtr,
t0 As Single,
t1 As Single
) As Boolean
public:
static bool FPDFShadingType2_SetDomain(
IntPtr shadding_pattern,
float t0,
float t1
)
static member FPDFShadingType2_SetDomain :
shadding_pattern : IntPtr *
t0 : float32 *
t1 : float32 -> bool
public static boolean FPDFShadingType2_SetDomain(
IntPtr shadding_pattern,
float t0,
float t1
)
Patagames.Pdf.Pdfium.FPDFShadingType2_SetDomain = function(shadding_pattern, t0, 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
BooleanTrue 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 |
---|
Only applicable to Type 2 (Axial) shadings (AxialShading). |
See Also