SKMask.AllocateImage Method

Definition

Overloads

AllocateImage()

Allocates a memory block for the mask's image.

AllocateImage(Int64)

Allocates a memory block for a mask's image.

AllocateImage()

Allocates a memory block for the mask's image.

public long AllocateImage ();

Returns

Returns the total size of the allocated memory.

Applies to

AllocateImage(Int64)

Allocates a memory block for a mask's image.

public static IntPtr AllocateImage (long size);

Parameters

size
Int64

The amount of memory to allocate.

Returns

Returns a pointer to the allocated memory.

Applies to