/// Consumes an iterator of points and converts them to an iterator yielding path events.
///
/// Closes the start and end points.
Consumes an iterator of points and converts them to an iterator yielding path events.
Closes the start and end points.
Consumes an iterator of points and converts them to an iterator yielding path events . Closes the start and end points .
pub fn points_closed<'ctxt, I>(self, ctxt: DrawingContext<'ctxt, S>, points: I) -> Path<S>
    where
        S: BaseFloat,
        I: IntoIterator,
        I::Item: Into<Point2<S>>,
        for<'a> PathGeometryBuilder<'a, 'ctxt, S>: GeometryBuilder<T::VertexInput>,
    {
        self.points_inner(ctxt, true, points)
    }
pub fn points_closed < ' ctxt , I > ( self , ctxt : DrawingContext < ' ctxt , S > , points : I ) -> Path < S > where S : BaseFloat , I : IntoIterator , I :: Item : Into < Point2 < S > > , for < ' a > PathGeometryBuilder < ' a , ' ctxt , S > : GeometryBuilder < T :: VertexInput > , { self . points_inner ( ctxt , true , points ) }
Consumes an iterator of points and converts them to an iterator yielding path events.
Consumes an iterator of points and converts them to an iterator yielding path events .
self
ctxt
DrawingContext<'ctxt, S>
points
I