SKPixmap.GetPixelSpan 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
| Name | Description |
|---|---|
| GetPixelSpan() |
Returns a span that wraps the pixel data. |
| GetPixelSpan(Int32, Int32) |
Gets a span starting at the specified pixel coordinates. |
| GetPixelSpan<T>() |
Gets a typed span of all pixel data. |
| GetPixelSpan<T>(Int32, Int32) |
Gets a typed span starting at the specified coordinates. |
GetPixelSpan<T>()
Gets a typed span of all pixel data.
public Span<T> GetPixelSpan<T>() where T : struct;
Type Parameters
- T
The pixel type.
Returns
A span of pixel data.