PolygonFeature.convexCorner constructor

PolygonFeature.convexCorner(
  1. List<CubicBezier> cubics
)

Groups a list of CubicBezier objects into a convex corner (outward indentation in a shape).

Throws ArgumentError for lists of empty cubics or non-continuous cubics.

Implementation

factory convexCorner(List<CubicBezier> cubics) =>
    _validated(CornerFeature(cubics));