Optional
source: DeepPartial<CroppingBottomBar>Configuration of the 'detect document' button, located in the bottom bar.
new BarButtonConfiguration({
"title": new StyledText({
"text": "?croppingDetectButtonTitle",
"color": "?sbColorOnPrimary"
}),
"accessibilityDescription": "?accessibilityDescriptionCroppingDetectButton",
"background": new BackgroundStyle({
"strokeColor": "#00000000",
"fillColor": "#00000000",
"strokeWidth": 0.0
}),
"icon": new IconStyle({
"color": "?sbColorOnPrimary"
})
});
Configuration of the 'reset detection' button, located in the bottom bar.
new BarButtonConfiguration({
"title": new StyledText({
"text": "?croppingResetButtonTitle",
"color": "?sbColorOnPrimary"
}),
"accessibilityDescription": "?accessibilityDescriptionCroppingResetButton",
"background": new BackgroundStyle({
"strokeColor": "#00000000",
"fillColor": "#00000000",
"strokeWidth": 0.0
}),
"icon": new IconStyle({
"color": "?sbColorOnPrimary"
})
});
Configuration of the 'rotate page' button, located in the bottom bar.
new BarButtonConfiguration({
"title": new StyledText({
"text": "?croppingRotateButtonTitle",
"color": "?sbColorOnPrimary"
}),
"accessibilityDescription": "?accessibilityDescriptionCroppingRotateButton",
"background": new BackgroundStyle({
"strokeColor": "#00000000",
"fillColor": "#00000000",
"strokeWidth": 0.0
}),
"icon": new IconStyle({
"color": "?sbColorOnPrimary"
})
});
Generated using TypeDoc
Configuration of the bottom bar for the cropping screen.