Type Definition nannou::draw::properties::ColorScalar[][src]

type ColorScalar = DefaultScalar;

The scalar type used for the color channel values.

Trait Implementations

impl<S> SetColor<ColorScalar> for Ellipse<S>
[src]

Provide a mutable reference to the RGBA field which can be used for setting colors.

Specify a color. Read more

Specify the color via red, green and blue channels.

Specify the color via red, green, blue and alpha channels.

Specify the color via hue, saturation and luminance. Read more

Specify the color via hue, saturation, luminance and an alpha channel. Read more

Specify the color via hue, saturation and value (brightness). Read more

Specify the color via hue, saturation, value (brightness) and an alpha channel. Read more

impl<S> SetColor<ColorScalar> for Line<S>
[src]

Provide a mutable reference to the RGBA field which can be used for setting colors.

Specify a color. Read more

Specify the color via red, green and blue channels.

Specify the color via red, green, blue and alpha channels.

Specify the color via hue, saturation and luminance. Read more

Specify the color via hue, saturation, luminance and an alpha channel. Read more

Specify the color via hue, saturation and value (brightness). Read more

Specify the color via hue, saturation, value (brightness) and an alpha channel. Read more

impl<S> SetColor<ColorScalar> for Quad<S>
[src]

Provide a mutable reference to the RGBA field which can be used for setting colors.

Specify a color. Read more

Specify the color via red, green and blue channels.

Specify the color via red, green, blue and alpha channels.

Specify the color via hue, saturation and luminance. Read more

Specify the color via hue, saturation, luminance and an alpha channel. Read more

Specify the color via hue, saturation and value (brightness). Read more

Specify the color via hue, saturation, value (brightness) and an alpha channel. Read more

impl<S> SetColor<ColorScalar> for Rect<S>
[src]

Provide a mutable reference to the RGBA field which can be used for setting colors.

Specify a color. Read more

Specify the color via red, green and blue channels.

Specify the color via red, green, blue and alpha channels.

Specify the color via hue, saturation and luminance. Read more

Specify the color via hue, saturation, luminance and an alpha channel. Read more

Specify the color via hue, saturation and value (brightness). Read more

Specify the color via hue, saturation, value (brightness) and an alpha channel. Read more

impl<S> SetColor<ColorScalar> for Tri<S>
[src]

Provide a mutable reference to the RGBA field which can be used for setting colors.

Specify a color. Read more

Specify the color via red, green and blue channels.

Specify the color via red, green, blue and alpha channels.

Specify the color via hue, saturation and luminance. Read more

Specify the color via hue, saturation, luminance and an alpha channel. Read more

Specify the color via hue, saturation and value (brightness). Read more

Specify the color via hue, saturation, value (brightness) and an alpha channel. Read more