 | PdfiumFPDFShadingPattern_SetMesh Method |
Set the triangle / coons patch / tensor patch mesh to the specified shading pattern.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static bool FPDFShadingPattern_SetMesh(
IntPtr hPattern,
float[] vertices,
int nComps
)
Public Shared Function FPDFShadingPattern_SetMesh (
hPattern As IntPtr,
vertices As Single(),
nComps As Integer
) As Boolean
public:
static bool FPDFShadingPattern_SetMesh(
IntPtr hPattern,
array<float>^ vertices,
int nComps
)
static member FPDFShadingPattern_SetMesh :
hPattern : IntPtr *
vertices : float32[] *
nComps : int -> bool
public static boolean FPDFShadingPattern_SetMesh(
IntPtr hPattern,
float[] vertices,
int nComps
)
Patagames.Pdf.Pdfium.FPDFShadingPattern_SetMesh = function(hPattern, vertices, nComps);
Parameters
- hPattern IntPtr
- Handle to the pattern object.
- vertices Single
- An array of vertices that define the mesh.
- nComps Int32
- Number of color components in the vertices array.
Return Value
Booleantrue if the mesh was successfully set; false if any error occurred.
See Also