ShapeOutline.polygon constructor

ShapeOutline.polygon(
  1. List<DiagramPoint> points
)

A fixed polygon through points in unit coordinates.

Implementation

factory ShapeOutline.polygon(List<DiagramPoint> points) =>
    ShapeOutline.normalized(DiagramVectorPath.polyline(points, closed: true));