Class ArOverlayPolygonConfiguration

Configuration of the overlay polygon displayed on top of a barcode in the camera preview.

Hierarchy

  • PartiallyConstructible
    • ArOverlayPolygonConfiguration

Constructors

Properties

Constructors

Properties

deselected: PolygonStyle

Appearance of the overlay polygon when a barcode is not selected.

Default Value

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

Appearance of the overlay polygon after a barcode has been selected.

Default Value

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

Control the visibility of the overlay polygon.

Default Value

true;

Generated using TypeDoc