Configuration properties of the finder overlay

interface FinderConfig {
    finderInset?: FinderInset;
    finderLineColor?: string;
    finderLineWidth?: number;
    minPadding?: number;
    overlayColor?: string;
    requiredAspectRatio?: AspectRatio;
    viewFinderEnabled?: boolean;
}

Properties

finderInset?: FinderInset

The minimum space from view finders outer edges to the view edges.

finderLineColor?: string

Color of finder frame border.

finderLineWidth?: number

Width of finder frame border.

minPadding?: number

Initial padding for insets. Android only.

overlayColor?: string

Background color of the detection overlay.

requiredAspectRatio?: AspectRatio

Aspect ratio of finder frame (width \ height), which is used to build actual finder frame.

viewFinderEnabled?: boolean

Display the region of interest. The default value is TRUE.