[][src]Trait fumarole::Canvas

pub trait Canvas<'f> {
    fn drawing_data(&mut self) -> &mut DrawingData;
fn masks(&self) -> (i32, i32); fn rect(&mut self) -> Rect { ... }
fn line(&mut self) -> Line { ... }
fn ellipse(&mut self) -> Ellipse { ... }
fn image<P>(&mut self, image: P) -> Image
    where
        P: Into<String>
, { ... }
fn text<P>(&mut self, font: P) -> Text
    where
        P: Into<String>
, { ... }
fn rect_mask(&mut self) -> RectMask { ... } }

Required methods

fn drawing_data(&mut self) -> &mut DrawingData

fn masks(&self) -> (i32, i32)

Loading content...

Provided methods

fn rect(&mut self) -> Rect

fn line(&mut self) -> Line

fn ellipse(&mut self) -> Ellipse

fn image<P>(&mut self, image: P) -> Image where
    P: Into<String>, 

fn text<P>(&mut self, font: P) -> Text where
    P: Into<String>, 

fn rect_mask(&mut self) -> RectMask

Loading content...

Implementors

impl<'f> Canvas<'f> for Frame<'f>[src]

impl<'m> Canvas<'m> for Mask<'m>[src]

Loading content...