pub fn add_rounded_polygon<B: PathBuilder>(
builder: &mut B,
polygon: Polygon<'_, Point>,
radius: f32,
attributes: Attributes<'_>,
)Expand description
Adds a sub-path from a polygon but rounds the corners.
There must be no sub-path in progress when this method is called. No sub-path is in progress after the method is called.