Trait rasterize::Color[][src]

pub trait Color {
    fn blend_over(&self, other: &Self) -> Self;
fn with_alpha(&self, alpha: Scalar) -> Self;
fn to_rgba(&self) -> [u8; 4]; fn to_rgb(&self) -> [u8; 3]
    where
        Self: Sized
, { ... } }

Required methods

fn blend_over(&self, other: &Self) -> Self[src]

fn with_alpha(&self, alpha: Scalar) -> Self[src]

fn to_rgba(&self) -> [u8; 4][src]

Loading content...

Provided methods

fn to_rgb(&self) -> [u8; 3] where
    Self: Sized
[src]

Loading content...

Implementors

impl Color for ColorU8[src]

impl Color for LinColor[src]

impl Color for Scalar[src]

Loading content...