Upravit

Sdílet prostřednictvím


SKBitmap.SetPixels Method

Definition

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