pub type RoundConvexPolygon = RoundShape<ConvexPolygon>;
Expand description
A convex polygon dilated by a sphere (so it has round corners).
Aliased Type§
struct RoundConvexPolygon {
pub inner_shape: ConvexPolygon,
pub border_radius: f32,
}
Fields§
§inner_shape: ConvexPolygon
The shape being rounded.
border_radius: f32
The radius of the rounded border.