Configuration of the barcode info box displayed in the camera preview.

Hierarchy

  • PartiallyConstructible
    • BarcodeItemConfiguration

Constructors

Properties

backgroundDeselected: PolygonStyle

Appearance of the barcode info box's background when a barcode is yet to be selected.

Default Value

new PolygonStyle({
"strokeColor": "?sbColorSurface",
"fillColor": "?sbColorSurface",
"strokeWidth": 0.0,
"cornerRadius": 10.0
});
backgroundSelected: PolygonStyle

Appearance of the barcode info box's background when a barcode has been selected.

Default Value

new PolygonStyle({
"strokeColor": "?sbColorPositive",
"fillColor": "?sbColorPositive",
"strokeWidth": 0.0,
"cornerRadius": 10.0
});
imageVisible: boolean

Control the visibility of the barcode image in the info box.

Default Value

true;
subtitleDeselected: StyledText

Configuration of the text displaying a barcode's symbology in the info box when the barcode is yet to be selected.

Default Value

new StyledText({
"text": "BARCODE_SUBTITLE",
"color": "?sbColorOnSurfaceVariant"
});
subtitleSelected: StyledText

Configuration of the text displaying a barcode's symbology in the info box when the barcode has been selected.

Default Value

new StyledText({
"text": "BARCODE_SUBTITLE",
"color": "?sbColorOnSurfaceVariant"
});
titleDeselected: StyledText

Configuration of the text displaying a barcode's value in the info box when the barcode is yet to be selected.

Default Value

new StyledText({
"text": "BARCODE_TITLE",
"color": "?sbColorOnSurface"
});
titleSelected: StyledText

Configuration of the text displaying a barcode's value in the info box when the barcode has been selected.

Default Value

new StyledText({
"text": "BARCODE_TITLE",
"color": "?sbColorOnSurface"
});

Generated using TypeDoc