pub trait Shape {
    fn draw_type(&self) -> DrawType;
    fn with_draw_type(&self, draw_type: DrawType) -> Self;
    fn translate_by<P: Into<Coord>>(&self, delta: P) -> Self;
    fn move_to<P: Into<Coord>>(&self, xy: P) -> Self;
    fn points(&self) -> Vec<Coord>;
}

Required Methods

Implementors