 | PdfiumFPDFShadingType1_SetDomain Method |
Set the rectangular domain of coordinates over which the color function(s) are defined.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static bool FPDFShadingType1_SetDomain(
IntPtr shadding_pattern,
float xMin,
float yMin,
float xMax,
float yMax
)
Public Shared Function FPDFShadingType1_SetDomain (
shadding_pattern As IntPtr,
xMin As Single,
yMin As Single,
xMax As Single,
yMax As Single
) As Boolean
public:
static bool FPDFShadingType1_SetDomain(
IntPtr shadding_pattern,
float xMin,
float yMin,
float xMax,
float yMax
)
static member FPDFShadingType1_SetDomain :
shadding_pattern : IntPtr *
xMin : float32 *
yMin : float32 *
xMax : float32 *
yMax : float32 -> bool
public static boolean FPDFShadingType1_SetDomain(
IntPtr shadding_pattern,
float xMin,
float yMin,
float xMax,
float yMax
)
Patagames.Pdf.Pdfium.FPDFShadingType1_SetDomain = function(shadding_pattern, xMin, yMin, xMax, yMax);
Parameters
- shadding_pattern IntPtr
- The handle to the shading pattern.
- xMin Single
- The minimum value of the rectangular domain of coordinates in horizontal dimension.
- yMin Single
- The minimum value of the rectangular domain of coordinates in vertical dimension.
- xMax Single
- The maximum value of the rectangular domain of coordinates in horizontal dimension.
- yMax Single
- The maximum value of the rectangular domain of coordinates in vertical dimension.
Return Value
BooleanTrue for successful; false if any error has occurred.
Remarks
The domain rectangle establishes an internal coordinate space for the shading that is independent of the target coordinate space in which it is to be painted.
See Also