Class PermanentViewFinderConfiguration

Configuration of the scanning interface’s viewfinder, which is always visible to guide the user.

Hierarchy

  • PartiallyConstructible
    • PermanentViewFinderConfiguration

Constructors

Properties

_type: "PermanentViewFinderConfiguration"
aspectRatio: AspectRatio

The viewfinder's aspect ratio.

Default Value

new AspectRatio({
"width": 1.0,
"height": 1.0
});
minimumInsets: EdgeInsets

The minimum insets of the viewfinder.

Default Value

new EdgeInsets({
"top": 16.0,
"left": 16.0,
"bottom": 16.0,
"right": 16.0
});
overlayColor: string

The color of the viewfinder overlay.

Default Value

"?sbColorSurfaceLow";
preferredHeight: number

The preferred height of the viewfinder.

Default Value

-1.0;

The visual appearance of the viewfinder.

Default Value

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

Generated using TypeDoc