Polygon constructor

Polygon({
  1. required List<PdfPoint> points,
  2. PdfColor? fillColor,
  3. PdfColor? strokeColor,
  4. double strokeWidth = 1.0,
  5. bool close = true,
})

Implementation

Polygon(
    {required this.points,
    this.fillColor,
    this.strokeColor,
    this.strokeWidth = 1.0,
    this.close = true});