Struct orbtk::Color []

pub struct Color {
    pub data: u32,
}

A color

Fields

Methods

impl Color

Create a new color from RGB

Set the alpha

Trait Implementations

impl Copy for Color

impl Clone for Color

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more