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
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per