Bearbeiten

Freigeben über


SKPixmap.Reset Method

Definition

Overloads

Reset()

Reset the pixmap to an empty pixmap.

Reset(SKImageInfo, IntPtr, Int32)

Resets the pixmap to the specified pixels.

Reset(SKImageInfo, IntPtr, Int32, SKColorTable)
Obsolete.

Resets the pixmap to the specified pixels.

Reset()

Reset the pixmap to an empty pixmap.

public void Reset ();

Applies to

Reset(SKImageInfo, IntPtr, Int32)

Resets the pixmap to the specified pixels.

public void Reset (SkiaSharp.SKImageInfo info, IntPtr addr, int rowBytes);

Parameters

info
SKImageInfo

The image information of the pixels.

addr
IntPtr

The memory address of the pixels.

rowBytes
Int32

The number of bytes per row.

Applies to

Reset(SKImageInfo, IntPtr, Int32, SKColorTable)

Caution

The Index8 color type and color table is no longer supported. Use Reset(SKImageInfo, IntPtr, int) instead.

Resets the pixmap to the specified pixels.

public void Reset (SkiaSharp.SKImageInfo info, IntPtr addr, int rowBytes, SkiaSharp.SKColorTable ctable = default);
[System.Obsolete("The Index8 color type and color table is no longer supported. Use Reset(SKImageInfo, IntPtr, int) instead.")]
public void Reset (SkiaSharp.SKImageInfo info, IntPtr addr, int rowBytes, SkiaSharp.SKColorTable ctable);

Parameters

info
SKImageInfo

The image information of the pixels.

addr
IntPtr

The memory address of the pixels.

rowBytes
Int32

The number of bytes per row.

ctable
SKColorTable

The color table.

Attributes

Applies to