rgb::alt

Type Alias ABGR8

source
pub type ABGR8 = Abgr<u8>;
Expand description

8-bit ABGR, alpha is first. 0 = transparent, 255 = opaque.

Aliased Type§

struct ABGR8 {
    pub a: u8,
    pub b: u8,
    pub g: u8,
    pub r: u8,
}

Fields§

§a: u8

Alpha Component

§b: u8

Blue Component

§g: u8

Green Component

§r: u8

Red Component