SKBitmap.GetPixels Method

Definition

Overloads

GetPixels()

Returns the address of the pixels for this bitmap.

GetPixels(IntPtr)

Returns the address of the pixels for this bitmap.

GetPixels()

Returns the address of the pixels for this bitmap.

public IntPtr GetPixels ();

Returns

Returns a pointer to the region that contains the pixel data for this bitmap. This might return IntPtr.Zero if there is no pixel buffer associated with this bitmap.

GetPixels(IntPtr)

Returns the address of the pixels for this bitmap.

public IntPtr GetPixels (out IntPtr length);

Parameters

length
IntPtr

The length of the pixel buffer of the bitmap.

Returns

Returns a pointer to the region that contains the pixel data for this bitmap. This might return IntPtr.Zero if there is no pixel buffer associated with this bitmap.

Applies to