pub type Polygon = GenericPolygon<LengthPercentage>;Expand description
The specified value of Polygon.
Aliased Type§
#[repr(C)]pub struct Polygon {
pub fill: FillRule,
pub coordinates: OwnedSlice<PolygonCoord<LengthPercentage>>,
}Fields§
§fill: FillRuleThe filling rule for a polygon.
coordinates: OwnedSlice<PolygonCoord<LengthPercentage>>A collection of (x, y) coordinates to draw the polygon.