pub trait SketchBuilder {
    fn add_polygon_from_points(
        &mut self,
        surface: impl Into<Partial<Surface>>,
        points: impl IntoIterator<Item = impl Into<Point<2>>>
    ); }
Expand description

Builder API for PartialSketch

Required Methods§

Add a polygon to the sketch, created from the provided points

Implementors§