ArOverlayPolygonConfiguration constructor

ArOverlayPolygonConfiguration({
  1. bool visible = true,
  2. PolygonStyle? deselected,
  3. PolygonStyle? selected,
})

Implementation

ArOverlayPolygonConfiguration({
  this.visible = true,
  PolygonStyle? deselected,
  PolygonStyle? selected,
})  : deselected = deselected ??
          PolygonStyle(
              strokeColor: ScanbotColor("?sbColorSurface"),
              fillColor: ScanbotColor("#00000000"),
              strokeWidth: 2.0,
              cornerRadius: 2.0),
      selected = selected ??
          PolygonStyle(
              strokeColor: ScanbotColor("?sbColorPositive"),
              fillColor: ScanbotColor("#00000000"),
              strokeWidth: 2.0,
              cornerRadius: 2.0);