Skip to main content

ColorInfo

Type Alias ColorInfo 

pub type ColorInfo = Handle<SkColorInfo>;
Expand description

Describes pixel and encoding. ImageInfo can be created from ColorInfo by providing dimensions.

It encodes how pixel bits describe alpha, transparency; color components red, blue, and green; and ColorSpace, the range and linearity of colors.

Aliased Typeยง

pub struct ColorInfo(/* private fields */);