Struct iui::draw::SolidBrush[][src]

pub struct SolidBrush {
    pub r: f64,
    pub g: f64,
    pub b: f64,
    pub a: f64,
}

A brush that paints all pixels with the same color, respecting alpha.

Fields

Red component of the color

Green component of the color

Blue component of the color

Alpha (α) component of the color (that is, opacity).

Trait Implementations

impl Copy for SolidBrush
[src]

impl Clone for SolidBrush
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for SolidBrush
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for SolidBrush
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for SolidBrush

impl Sync for SolidBrush