SKBitmap.SetPixels 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
SetPixels(IntPtr) |
Replaces the current pixel address for the bitmap. |
SetPixels(IntPtr, SKColorTable) |
Obsolete.
Developers should not use this obsolete method. |
SetPixels(IntPtr)
Replaces the current pixel address for the bitmap.
public void SetPixels (IntPtr pixels);
Parameters
- pixels
- IntPtr
The new pixel address.
Applies to
SetPixels(IntPtr, SKColorTable)
Caution
The Index8 color type and color table is no longer supported. Use SetPixels(IntPtr) instead.
Developers should not use this obsolete method.
public void SetPixels (IntPtr pixels, SkiaSharp.SKColorTable ct);
[System.Obsolete("The Index8 color type and color table is no longer supported. Use SetPixels(IntPtr) instead.")]
public void SetPixels (IntPtr pixels, SkiaSharp.SKColorTable ct);
Parameters
- pixels
- IntPtr
The new pixel address.
- ct
- SKColorTable
Index8 is no longer supported.
- Attributes
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
SkiaSharp