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]
impl<S> SetColor<ColorScalar> for Ellipse<S>
fn rgba_mut(&mut self) -> &mut Option<Rgba>
[src]
fn rgba_mut(&mut self) -> &mut Option<Rgba>
Provide a mutable reference to the RGBA field which can be used for setting colors.
fn color<C>(self, color: C) -> Self where
C: IntoRgba<S>,
[src]
fn color<C>(self, color: C) -> Self where
C: IntoRgba<S>,
Specify a color. Read more
fn rgb(self, r: S, g: S, b: S) -> Self
[src]
fn rgb(self, r: S, g: S, b: S) -> Self
Specify the color via red, green and blue channels.
fn rgba(self, r: S, g: S, b: S, a: S) -> Self
[src]
fn rgba(self, r: S, g: S, b: S, a: S) -> Self
Specify the color via red, green, blue and alpha channels.
fn hsl(self, h: S, s: S, l: S) -> Self where
S: Into<RgbHue<S>>,
[src]
fn hsl(self, h: S, s: S, l: S) -> Self where
S: Into<RgbHue<S>>,
Specify the color via hue, saturation and luminance. Read more
fn hsla(self, h: S, s: S, l: S, a: S) -> Self where
S: Into<RgbHue<S>>,
[src]
fn hsla(self, h: S, s: S, l: S, a: S) -> Self where
S: Into<RgbHue<S>>,
Specify the color via hue, saturation, luminance and an alpha channel. Read more
fn hsv(self, h: S, s: S, v: S) -> Self where
S: Into<RgbHue<S>>,
[src]
fn hsv(self, h: S, s: S, v: S) -> Self where
S: Into<RgbHue<S>>,
Specify the color via hue, saturation and value (brightness). Read more
fn hsva(self, h: S, s: S, v: S, a: S) -> Self where
S: Into<RgbHue<S>>,
[src]
fn hsva(self, h: S, s: S, v: S, a: S) -> Self where
S: Into<RgbHue<S>>,
Specify the color via hue, saturation, value (brightness) and an alpha channel. Read more
impl<S> SetColor<ColorScalar> for Line<S>
[src]
impl<S> SetColor<ColorScalar> for Line<S>
fn rgba_mut(&mut self) -> &mut Option<Rgba>
[src]
fn rgba_mut(&mut self) -> &mut Option<Rgba>
Provide a mutable reference to the RGBA field which can be used for setting colors.
fn color<C>(self, color: C) -> Self where
C: IntoRgba<S>,
[src]
fn color<C>(self, color: C) -> Self where
C: IntoRgba<S>,
Specify a color. Read more
fn rgb(self, r: S, g: S, b: S) -> Self
[src]
fn rgb(self, r: S, g: S, b: S) -> Self
Specify the color via red, green and blue channels.
fn rgba(self, r: S, g: S, b: S, a: S) -> Self
[src]
fn rgba(self, r: S, g: S, b: S, a: S) -> Self
Specify the color via red, green, blue and alpha channels.
fn hsl(self, h: S, s: S, l: S) -> Self where
S: Into<RgbHue<S>>,
[src]
fn hsl(self, h: S, s: S, l: S) -> Self where
S: Into<RgbHue<S>>,
Specify the color via hue, saturation and luminance. Read more
fn hsla(self, h: S, s: S, l: S, a: S) -> Self where
S: Into<RgbHue<S>>,
[src]
fn hsla(self, h: S, s: S, l: S, a: S) -> Self where
S: Into<RgbHue<S>>,
Specify the color via hue, saturation, luminance and an alpha channel. Read more
fn hsv(self, h: S, s: S, v: S) -> Self where
S: Into<RgbHue<S>>,
[src]
fn hsv(self, h: S, s: S, v: S) -> Self where
S: Into<RgbHue<S>>,
Specify the color via hue, saturation and value (brightness). Read more
fn hsva(self, h: S, s: S, v: S, a: S) -> Self where
S: Into<RgbHue<S>>,
[src]
fn hsva(self, h: S, s: S, v: S, a: S) -> Self where
S: Into<RgbHue<S>>,
Specify the color via hue, saturation, value (brightness) and an alpha channel. Read more
impl<S> SetColor<ColorScalar> for Quad<S>
[src]
impl<S> SetColor<ColorScalar> for Quad<S>
fn rgba_mut(&mut self) -> &mut Option<Rgba>
[src]
fn rgba_mut(&mut self) -> &mut Option<Rgba>
Provide a mutable reference to the RGBA field which can be used for setting colors.
fn color<C>(self, color: C) -> Self where
C: IntoRgba<S>,
[src]
fn color<C>(self, color: C) -> Self where
C: IntoRgba<S>,
Specify a color. Read more
fn rgb(self, r: S, g: S, b: S) -> Self
[src]
fn rgb(self, r: S, g: S, b: S) -> Self
Specify the color via red, green and blue channels.
fn rgba(self, r: S, g: S, b: S, a: S) -> Self
[src]
fn rgba(self, r: S, g: S, b: S, a: S) -> Self
Specify the color via red, green, blue and alpha channels.
fn hsl(self, h: S, s: S, l: S) -> Self where
S: Into<RgbHue<S>>,
[src]
fn hsl(self, h: S, s: S, l: S) -> Self where
S: Into<RgbHue<S>>,
Specify the color via hue, saturation and luminance. Read more
fn hsla(self, h: S, s: S, l: S, a: S) -> Self where
S: Into<RgbHue<S>>,
[src]
fn hsla(self, h: S, s: S, l: S, a: S) -> Self where
S: Into<RgbHue<S>>,
Specify the color via hue, saturation, luminance and an alpha channel. Read more
fn hsv(self, h: S, s: S, v: S) -> Self where
S: Into<RgbHue<S>>,
[src]
fn hsv(self, h: S, s: S, v: S) -> Self where
S: Into<RgbHue<S>>,
Specify the color via hue, saturation and value (brightness). Read more
fn hsva(self, h: S, s: S, v: S, a: S) -> Self where
S: Into<RgbHue<S>>,
[src]
fn hsva(self, h: S, s: S, v: S, a: S) -> Self where
S: Into<RgbHue<S>>,
Specify the color via hue, saturation, value (brightness) and an alpha channel. Read more
impl<S> SetColor<ColorScalar> for Rect<S>
[src]
impl<S> SetColor<ColorScalar> for Rect<S>
fn rgba_mut(&mut self) -> &mut Option<Rgba>
[src]
fn rgba_mut(&mut self) -> &mut Option<Rgba>
Provide a mutable reference to the RGBA field which can be used for setting colors.
fn color<C>(self, color: C) -> Self where
C: IntoRgba<S>,
[src]
fn color<C>(self, color: C) -> Self where
C: IntoRgba<S>,
Specify a color. Read more
fn rgb(self, r: S, g: S, b: S) -> Self
[src]
fn rgb(self, r: S, g: S, b: S) -> Self
Specify the color via red, green and blue channels.
fn rgba(self, r: S, g: S, b: S, a: S) -> Self
[src]
fn rgba(self, r: S, g: S, b: S, a: S) -> Self
Specify the color via red, green, blue and alpha channels.
fn hsl(self, h: S, s: S, l: S) -> Self where
S: Into<RgbHue<S>>,
[src]
fn hsl(self, h: S, s: S, l: S) -> Self where
S: Into<RgbHue<S>>,
Specify the color via hue, saturation and luminance. Read more
fn hsla(self, h: S, s: S, l: S, a: S) -> Self where
S: Into<RgbHue<S>>,
[src]
fn hsla(self, h: S, s: S, l: S, a: S) -> Self where
S: Into<RgbHue<S>>,
Specify the color via hue, saturation, luminance and an alpha channel. Read more
fn hsv(self, h: S, s: S, v: S) -> Self where
S: Into<RgbHue<S>>,
[src]
fn hsv(self, h: S, s: S, v: S) -> Self where
S: Into<RgbHue<S>>,
Specify the color via hue, saturation and value (brightness). Read more
fn hsva(self, h: S, s: S, v: S, a: S) -> Self where
S: Into<RgbHue<S>>,
[src]
fn hsva(self, h: S, s: S, v: S, a: S) -> Self where
S: Into<RgbHue<S>>,
Specify the color via hue, saturation, value (brightness) and an alpha channel. Read more
impl<S> SetColor<ColorScalar> for Tri<S>
[src]
impl<S> SetColor<ColorScalar> for Tri<S>
fn rgba_mut(&mut self) -> &mut Option<Rgba>
[src]
fn rgba_mut(&mut self) -> &mut Option<Rgba>
Provide a mutable reference to the RGBA field which can be used for setting colors.
fn color<C>(self, color: C) -> Self where
C: IntoRgba<S>,
[src]
fn color<C>(self, color: C) -> Self where
C: IntoRgba<S>,
Specify a color. Read more
fn rgb(self, r: S, g: S, b: S) -> Self
[src]
fn rgb(self, r: S, g: S, b: S) -> Self
Specify the color via red, green and blue channels.
fn rgba(self, r: S, g: S, b: S, a: S) -> Self
[src]
fn rgba(self, r: S, g: S, b: S, a: S) -> Self
Specify the color via red, green, blue and alpha channels.
fn hsl(self, h: S, s: S, l: S) -> Self where
S: Into<RgbHue<S>>,
[src]
fn hsl(self, h: S, s: S, l: S) -> Self where
S: Into<RgbHue<S>>,
Specify the color via hue, saturation and luminance. Read more
fn hsla(self, h: S, s: S, l: S, a: S) -> Self where
S: Into<RgbHue<S>>,
[src]
fn hsla(self, h: S, s: S, l: S, a: S) -> Self where
S: Into<RgbHue<S>>,
Specify the color via hue, saturation, luminance and an alpha channel. Read more
fn hsv(self, h: S, s: S, v: S) -> Self where
S: Into<RgbHue<S>>,
[src]
fn hsv(self, h: S, s: S, v: S) -> Self where
S: Into<RgbHue<S>>,
Specify the color via hue, saturation and value (brightness). Read more
fn hsva(self, h: S, s: S, v: S, a: S) -> Self where
S: Into<RgbHue<S>>,
[src]
fn hsva(self, h: S, s: S, v: S, a: S) -> Self where
S: Into<RgbHue<S>>,
Specify the color via hue, saturation, value (brightness) and an alpha channel. Read more