ColorFormat

enum ColorFormat : Enum<ColorFormat>

Color format enumeration

Entries

sRGBa
Link copied to clipboard
common

Format with four components (red, green, blue, alpha) in sRGB space

sRGB
Link copied to clipboard
common

Format with three components (red, green, blue) in sRGB space

BGRa
Link copied to clipboard
common

Format with four components in reverse order (blue, green, red, alpha)

RGBa
Link copied to clipboard
common

Format with four components (red, green, blue, alpha)

BGR
Link copied to clipboard
common
BGR()

Format with three components in reverse order (blue, green, red)

RGB
Link copied to clipboard
common
RGB()

Format with three components (red, green, blue)

RG
Link copied to clipboard
common
RG()

Format with two components (red, green)

R
Link copied to clipboard
common
R()

Format with a single component (red)

Properties

componentCount
Link copied to clipboard
common
val componentCount: Int

The number of (color) components in the format

name
Link copied to clipboard
common
val name: String
ordinal
Link copied to clipboard
common
val ordinal: Int