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)

Creates an instance of SKPixmap.

SKPixmap()

Creates an empty instance of SKPixmap.

public SKPixmap ();

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.

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.

SKPixmap(SKImageInfo, IntPtr, Int32, SKColorTable)

Warning

This API is now obsolete.

Creates an instance of SKPixmap.

[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.

Applies to