DocumentPolygonConfiguration constructor
DocumentPolygonConfiguration({
- UserGuidanceVisibility visibility = UserGuidanceVisibility.ENABLED,
- PolygonStyle? documentOk,
- PolygonStyle? documentNotOk,
- 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);