PolygonStyle constructor
PolygonStyle({
- ScanbotColor? strokeColor,
- ScanbotColor? fillColor,
- double strokeWidth = 2.0,
- double cornerRadius = 0.0,
Implementation
PolygonStyle({
ScanbotColor? strokeColor,
ScanbotColor? fillColor,
this.strokeWidth = 2.0,
this.cornerRadius = 0.0,
}) : strokeColor = strokeColor ?? ScanbotColor("#FFFFFFFF"),
fillColor = fillColor ?? ScanbotColor("#FFFFFF30");