Configuration of the scanning interface's viewfinder, serving as guidance to the user.

Hierarchy

  • PartiallyConstructible
    • ViewFinderConfiguration

Constructors

Properties

aspectRatio: AspectRatio

The viewfinder's aspect ratio.

Default Value

new AspectRatio({
"width": 1.0,
"height": 1.0
});
overlayColor: string

Color of the viewfinder overlay.

Default Value

"?sbColorSurfaceLow";

Visual appearance of the viewfinder.

Default Value

new FinderCorneredStyle({
"strokeColor": "?sbColorSurface",
"strokeWidth": 2.0,
"cornerRadius": 10.0
});
visible: boolean

Whether the viewfinder is visible.

Default Value

true;

Generated using TypeDoc