GuiShapePolygon constructor

GuiShapePolygon({
  1. required int sides,
  2. required GeoAngle startAngle,
  3. bool clockwise = false,
  4. BoxFit boxFit = BoxFit.none,
  5. double cornerRadius = 0,
})

Implementation

GuiShapePolygon(
    {required this.sides,
    required this.startAngle,
    this.clockwise = false,
    this.boxFit = BoxFit.none,
    this.cornerRadius = 0}) {
  _polygon = GeoPolygon(sides);
}