Class DocumentPolygonConfiguration

Configuration of the document contour detection polygon.

Hierarchy

  • PartiallyConstructible
    • DocumentPolygonConfiguration

Constructors

Properties

autoSnapProgress: PolygonStyle

Configuration of the animated polygon when the document is being scanned for capturing in 'auto snapping mode'.

Default Value

new PolygonStyle({
"strokeColor": "#40A9FF",
"fillColor": "#00000000",
"strokeWidth": 2.0
});
documentNotOk: PolygonStyle

Configuration of the polygon when the detected document status is 'not OK'.

Default Value

new PolygonStyle({
"strokeColor": "?sbColorNegative",
"fillColor": "#00000000",
"strokeWidth": 2.0
});
documentOk: PolygonStyle

Configuration of the polygon when the detected document status is 'OK'.

Default Value

new PolygonStyle({
"strokeColor": "?sbColorPositive",
"fillColor": "#00000000",
"strokeWidth": 2.0
});

Determines the visibility mode for the polygon.

Default Value

"ENABLED";

Generated using TypeDoc