SKMask Constructors

Definition

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)

Creates an instance of SKMask with the specified configuration, but a null Image.

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