PolygonStyle constructor

PolygonStyle({
  1. ScanbotColor? strokeColor,
  2. ScanbotColor? fillColor,
  3. double strokeWidth = 2.0,
  4. 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");