DocumentPolygonConfiguration constructor

DocumentPolygonConfiguration({
  1. UserGuidanceVisibility visibility = UserGuidanceVisibility.ENABLED,
  2. PolygonStyle? documentOk,
  3. PolygonStyle? documentNotOk,
  4. PolygonStyle? autoSnapProgress,
})

Implementation

DocumentPolygonConfiguration({
  this.visibility = UserGuidanceVisibility.ENABLED,
  PolygonStyle? documentOk,
  PolygonStyle? documentNotOk,
  PolygonStyle? autoSnapProgress,
})  : documentOk = documentOk ??
          PolygonStyle(
              strokeColor: ScanbotColor("?sbColorPositive"),
              fillColor: ScanbotColor("#00000000"),
              strokeWidth: 2.0),
      documentNotOk = documentNotOk ??
          PolygonStyle(
              strokeColor: ScanbotColor("?sbColorNegative"),
              fillColor: ScanbotColor("#00000000"),
              strokeWidth: 2.0),
      autoSnapProgress = autoSnapProgress ??
          PolygonStyle(
              strokeColor: ScanbotColor("#40A9FF"),
              fillColor: ScanbotColor("#00000000"),
              strokeWidth: 2.0);