Configuration of the screen for cropping the scanned pages.

Hierarchy

  • PartiallyConstructible
    • CroppingScreenConfiguration

Constructors

Properties

backgroundColor: string

The background color of the cropping screen.

Default Value

"?sbColorOutline";

Configuration of the bottom bar for the cropping screen.

Default Value

new CroppingBottomBar({});
croppingHandlerColor: string

The color of the cropping handles.

Default Value

"?sbColorSurface";
croppingPolygonColor: string

The color of the cropping polygon.

Default Value

"?sbColorSurface";
croppingPolygonMagneticLineColor: string

The color of the magnetic lines on the cropping polygon.

Default Value

"?sbColorSurface";
topBarBackButton: ButtonConfiguration

Configuration of the 'cancel' button, located in the top bar.

Default Value

new ButtonConfiguration({
"visible": true,
"text": "?croppingTopBarCancelButtonTitle",
"accessibilityDescription": "?accessibilityDescriptionCroppingTopBarCancelButton",
"background": new BackgroundStyle({
"strokeColor": "#00000000",
"fillColor": "#00000000",
"strokeWidth": 0.0
}),
"foreground": new ForegroundStyle({
"iconVisible": true,
"color": "?sbColorOnPrimary",
"useShadow": false
})
});
topBarConfirmButton: ButtonConfiguration

Configuration of the 'confirm' button, located in the top bar.

Default Value

new ButtonConfiguration({
"visible": true,
"text": "?croppingTopBarConfirmButtonTitle",
"accessibilityDescription": "?accessibilityDescriptionCroppingTopBarConfirmButton",
"background": new BackgroundStyle({
"strokeColor": "#00000000",
"fillColor": "#00000000",
"strokeWidth": 0.0
}),
"foreground": new ForegroundStyle({
"iconVisible": true,
"color": "?sbColorOnPrimary",
"useShadow": false
})
});
topBarTitle: StyledText

Configuration of the title, located in the top bar.

Default Value

new StyledText({
"text": "?croppingScreenTitle",
"color": "?sbColorOnPrimary"
});

Generated using TypeDoc