Type Alias Polyline2

Source
pub type Polyline2 = Polyline<DVec2>;
Expand description

Two-dimensional polyline.

Aliased Type§

struct Polyline2 {
    pub points: Vec<DVec2>,
    pub closed: bool,
}

Fields§

§points: Vec<DVec2>

Ordered control points.

§closed: bool

Whether the final point connects back to the first.