SKMask Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SKMask(SKRectI, UInt32, SKMaskFormat) |
Creates an instance of SKMask with the specified configuration, but a null Image. |
SKMask(IntPtr, SKRectI, UInt32, SKMaskFormat) |
Creates an instance of SKMask with the specified configuration. |
SKMask(SKRectI, UInt32, SKMaskFormat)
public SKMask (SkiaSharp.SKRectI bounds, uint rowBytes, SkiaSharp.SKMaskFormat format);
Parameters
- bounds
- SKRectI
The bounds of the mask in the image.
- rowBytes
- UInt32
The number of bytes per row.
- format
- SKMaskFormat
The format of the mask image.
Applies to
SKMask(IntPtr, SKRectI, UInt32, SKMaskFormat)
Creates an instance of SKMask with the specified configuration.
public SKMask (IntPtr image, SkiaSharp.SKRectI bounds, uint rowBytes, SkiaSharp.SKMaskFormat format);
Parameters
- image
- IntPtr
The pointer to the image data to use as the mask.
- bounds
- SKRectI
The bounds of the mask in the image.
- rowBytes
- UInt32
The number of bytes per row.
- format
- SKMaskFormat
The format of the mask image.
Applies to
SkiaSharp