Optional
source: DeepPartial<ViewFinderConfiguration>Readonly
_typeThe viewfinder's aspect ratio.
new AspectRatio({
"width": 1.0,
"height": 1.0
});
The minimum insets of the viewfinder.
new EdgeInsets({
"top": 16.0,
"left": 16.0,
"bottom": 16.0,
"right": 16.0
});
The color of the viewfinder overlay.
"?sbColorSurfaceLow";
The preferred height of the viewfinder.
-1.0;
The visual appearance of the viewfinder.
new FinderCorneredStyle({
"strokeColor": "?sbColorSurface",
"strokeWidth": 2.0,
"cornerRadius": 10.0
});
Whether the viewfinder is visible.
true;
Generated using TypeDoc
Configuration of the scanning interface’s viewfinder, allowing it to be shown or hidden as guidance to the user.