Skip to main content

Class SKPixmap

Namespace: SkiaSharp
Assembly: VelloSharp.Skia.Core.dll

public sealed class SKPixmap

Inheritance​

object ← SKPixmap

Inherited Members​

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors​

SKPixmap(SKImageInfo, byte[], int)​

public SKPixmap(SKImageInfo info, byte[] pixels, int rowBytes)

Parameters​

info SKImageInfo

pixels byte[]

rowBytes int

Properties​

Height​

public int Height { get; }

Property Value​

int

Info​

public SKImageInfo Info { get; }

Property Value​

SKImageInfo

RowBytes​

public ulong RowBytes { get; }

Property Value​

ulong

Width​

public int Width { get; }

Property Value​

int

Methods​

GetPixelColorF(int, int)​

public SKColorF GetPixelColorF(int x, int y)

Parameters​

x int

y int

Returns​

SKColorF

GetPixels()​

public nint GetPixels()

Returns​

nint