Trait tiling::shape::Polygon[][src]

pub trait Polygon {
    fn points(&self, margin: f64) -> Result<Vec<Point>>;
fn render(&self, context: &Context, margin: f64) -> Result<()>; }
Expand description

A generic interface of a polygon.

Required methods

Returns the polygon’s points.

Renders the polygon.

Implementors