Share via


CGImage.CreateMask Method

Definition

public static CoreGraphics.CGImage? CreateMask(int width, int height, int bitsPerComponent, int bitsPerPixel, int bytesPerRow, CoreGraphics.CGDataProvider? provider, System.Runtime.InteropServices.NFloat[]? decode, bool shouldInterpolate);
static member CreateMask : int * int * int * int * int * CoreGraphics.CGDataProvider * System.Runtime.InteropServices.NFloat[] * bool -> CoreGraphics.CGImage

Parameters

width
Int32
height
Int32
bitsPerComponent
Int32
bitsPerPixel
Int32
bytesPerRow
Int32
provider
CGDataProvider
decode
NFloat[]
shouldInterpolate
Boolean

Returns

Applies to