Click or drag to resize

PdfiumFPDFShadingPattern_GetParams Method

Get parameters from the specified tiling pattern.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static bool FPDFShadingPattern_GetParams(
	IntPtr hPattern,
	out int bitsPerCoordinate,
	out int bitsPerComponent,
	out int bitsPerVal,
	bool bGetDecode,
	out float[] decode,
	bool bGetData,
	out byte[] data
)

Parameters

hPattern  IntPtr
Handle to the pattern object.
bitsPerCoordinate  Int32
The number of bits used to represent each vertex / geometric coordinate.
bitsPerComponent  Int32
The number of bits used to represent each color component.
bitsPerVal  Int32
Depends on shading type.
bGetDecode  Boolean
Flag indicating whether to receive the decode.
decode  Single
An array of numbers specifying how to map coordinates and color components into the appropriate ranges of values.
bGetData  Boolean
Flag indicating whether to receive the data.
data  Byte
An array of bytes that contains a sequence of vertex coordinates and color data that defines the triangle mesh.

Return Value

Boolean
true on success; false otherwise.
See Also