Upravit

Sdílet prostřednictvím


SKPixmap Constructors

Definition

Overloads

SKPixmap()

Creates an empty instance of SKPixmap.

SKPixmap(SKImageInfo, IntPtr)

Creates an instance of SKPixmap.

SKPixmap(SKImageInfo, IntPtr, Int32)

Creates an instance of SKPixmap.

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

Creates an instance of SKPixmap.

SKPixmap()

Creates an empty instance of SKPixmap.

public SKPixmap ();

Applies to

SKPixmap(SKImageInfo, IntPtr)

Creates an instance of SKPixmap.

public SKPixmap (SkiaSharp.SKImageInfo info, IntPtr addr);

Parameters

info
SKImageInfo

The image information of the pixels.

addr
IntPtr

The memory address of the pixels.

Applies to

SKPixmap(SKImageInfo, IntPtr, Int32)

Creates an instance of SKPixmap.

public SKPixmap (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

SKPixmap(SKImageInfo, IntPtr, Int32, SKColorTable)

Caution

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

Creates an instance of SKPixmap.

public SKPixmap (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 SKPixmap(SKImageInfo, IntPtr, int) instead.")]
public SKPixmap (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