Skip to main content

Struct SKImageInfo

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

public readonly struct SKImageInfo

Inherited Members

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

Constructors

SKImageInfo(int, int, SKColorType, SKAlphaType)

public SKImageInfo(int width, int height, SKColorType colorType = SKColorType.Bgra8888, SKAlphaType alphaType = SKAlphaType.Premul)

Parameters

width int

height int

colorType SKColorType

alphaType SKAlphaType

Properties

AlphaType

public SKAlphaType AlphaType { get; }

Property Value

SKAlphaType

BytesPerPixel

public int BytesPerPixel { get; }

Property Value

int

BytesSize

public int BytesSize { get; }

Property Value

int

ColorType

public SKColorType ColorType { get; }

Property Value

SKColorType

Height

public int Height { get; }

Property Value

int

PlatformColorType

public static SKColorType PlatformColorType { get; }

Property Value

SKColorType

RowBytes

public int RowBytes { get; }

Property Value

int

Width

public int Width { get; }

Property Value

int