SKBitmap.GetPixels Method
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
GetPixels(IntPtr) |
Returns the address of the pixels for this bitmap. |
GetPixels() |
Returns the address of the pixels for 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
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.
Applies to
SkiaSharp