[][src]Trait embedded_graphics::Drawing

pub trait Drawing<C> where
    C: PixelColor + Clone
{ fn draw<T>(&mut self, item_pixels: T)
    where
        T: Iterator<Item = Pixel<C>>
; }

The main trait of this crate. All graphics objects must implement it.

Required methods

fn draw<T>(&mut self, item_pixels: T) where
    T: Iterator<Item = Pixel<C>>, 

Draw an object from an iterator over its pixels

Loading content...

Implementors

Loading content...