Optional
source: DeepPartial<CroppingScreenConfiguration>The background color of the cropping screen.
"?sbColorOutline";
Configuration of the bottom bar for the cropping screen.
new CroppingBottomBar({});
The color of the cropping handles.
"?sbColorSurface";
The color of the cropping polygon.
"?sbColorSurface";
The color of the magnetic lines on the cropping polygon.
"?sbColorSurface";
Configuration of the 'cancel' button, located in the top bar.
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
})
});
Configuration of the 'confirm' button, located in the top bar.
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
})
});
Configuration of the title, located in the top bar.
new StyledText({
"text": "?croppingScreenTitle",
"color": "?sbColorOnPrimary"
});
Generated using TypeDoc
Configuration of the screen for cropping the scanned pages.