Table of Contents

Struct ImageBitsFormat

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

Contains properties which describe format of the image pixels.

public struct ImageBitsFormat

Fields

Alpha

Offset of the alpha component.

BitsPerPixel

Number of bits per pixel.

Blue

Offset of the blue component.

Green

Offset of the green component.

HasAlpha

Whether alpha component is present in pixel data.

Red

Offset of the red component.

SizePixel

Size of the pixel in bytes.

Properties

Argb8888

Gets ImageBitsFormat for the 'Argb8888' images.

Argb8888Opaque

Gets ImageBitsFormat for the 'Argb8888Opaque' images.

Bgr888

Gets ImageBitsFormat for the 'Bgr888' images.

Bgra8888

Gets ImageBitsFormat for the 'Bgra8888' images.

ColorType

Gets SKColorType.

IsArgb8888

Gets whether or not this image format is 'Argb8888'.

IsArgb8888Opaque

Gets whether or not this image format is 'Argb8888Opaque'.

IsBgr888

Gets whether or not this image format is 'Bgr888'.

IsBgra8888

Gets whether or not this image format is 'Bgra8888'.

IsRgb888

Gets whether or not this image format is 'Rgb888'.

IsRgba8888

Gets whether or not this image format is 'Rgba8888'.

Rgb888

Gets ImageBitsFormat for the 'Rgb888' images.

Rgba8888

Gets ImageBitsFormat for the 'Rgba8888' images.

Methods

Equals(object?)

Compares this object with another object.

GetHashCode()

Gets hash code of this object.

Log(string?)

Logs this object properties.

Operators

operator ==(ImageBitsFormat, ImageBitsFormat)

Tests whether two specified ImageBitsFormat structures are equivalent.

operator !=(ImageBitsFormat, ImageBitsFormat)

Tests whether two specified ImageBitsFormat structures are not equivalent.