'Declaration
Public Overloads Function DrawStencilMask( _ ByVal stencilMask As PdfStencilMask, _ ByVal brush As PdfBrush, _ ByVal x As Double, _ ByVal y As Double, _ ByVal width As Double, _ ByVal height As Double, _ ByVal rotation As Double, _ ByVal flipDirection As PdfFlipDirection _ ) As PdfSize
'Usage
Dim instance As PdfGraphics Dim stencilMask As PdfStencilMask Dim brush As PdfBrush Dim x As Double Dim y As Double Dim width As Double Dim height As Double Dim rotation As Double Dim flipDirection As PdfFlipDirection Dim value As PdfSize value = instance.DrawStencilMask(stencilMask, brush, x, y, width, height, rotation, flipDirection)
public PdfSize DrawStencilMask( PdfStencilMask stencilMask, PdfBrush brush, double x, double y, double width, double height, double rotation, PdfFlipDirection flipDirection )
public: PdfSize^ DrawStencilMask( PdfStencilMask^ stencilMask, PdfBrush^ brush, double x, double y, double width, double height, double rotation, PdfFlipDirection flipDirection )
Parameters
- stencilMask
- PdfStencilMask to draw.
- brush
- PdfBrush that defines the characteristics of the stencil mask fill.
- x
- The x-coordinate of the upper-left corner of the drawn stencil mask.
- y
- The y-coordinate of the upper-left corner of the drawn stencil mask.
- width
- Width of the drawn stencil mask.
- height
- Height of the drawn stencil mask.
- rotation
- Rotation angle of the drawn stencil mask.
- flipDirection
- Direction for flipping the drawn stencil mask.
Return Value
The size of the drawn stencil mask.