Cropping Screen Configuration
data class CroppingScreenConfiguration(var topBarBackButton: ButtonConfiguration = ButtonConfiguration( visible = true, text = "?croppingTopBarCancelButtonTitle", accessibilityDescription = "?accessibilityDescriptionCroppingTopBarCancelButton", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), foreground = ForegroundStyle( iconVisible = true, color = ScanbotColor("?sbColorOnPrimary", isArgb = false), useShadow = false ) ), var topBarTitle: StyledText = StyledText( text = "?croppingScreenTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), var topBarConfirmButton: ButtonConfiguration = ButtonConfiguration( visible = true, text = "?croppingTopBarConfirmButtonTitle", accessibilityDescription = "?accessibilityDescriptionCroppingTopBarConfirmButton", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), foreground = ForegroundStyle( iconVisible = true, color = ScanbotColor("?sbColorOnPrimary", isArgb = false), useShadow = false ) ), var backgroundColor: ScanbotColor = ScanbotColor("?sbColorOutline", isArgb = false), var croppingHandlerColor: ScanbotColor = ScanbotColor("?sbColorSurface", isArgb = false), var croppingPolygonColor: ScanbotColor = ScanbotColor("?sbColorSurface", isArgb = false), var croppingPolygonMagneticLineColor: ScanbotColor = ScanbotColor("?sbColorSurface", isArgb = false), var bottomBar: CroppingBottomBar = CroppingBottomBar( )) : Parcelable
Configuration of the screen for cropping the scanned pages.
Constructors
Link copied to clipboard
constructor(topBarBackButton: ButtonConfiguration = ButtonConfiguration( visible = true, text = "?croppingTopBarCancelButtonTitle", accessibilityDescription = "?accessibilityDescriptionCroppingTopBarCancelButton", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), foreground = ForegroundStyle( iconVisible = true, color = ScanbotColor("?sbColorOnPrimary", isArgb = false), useShadow = false ) ), topBarTitle: StyledText = StyledText( text = "?croppingScreenTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), topBarConfirmButton: ButtonConfiguration = ButtonConfiguration( visible = true, text = "?croppingTopBarConfirmButtonTitle", accessibilityDescription = "?accessibilityDescriptionCroppingTopBarConfirmButton", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), foreground = ForegroundStyle( iconVisible = true, color = ScanbotColor("?sbColorOnPrimary", isArgb = false), useShadow = false ) ), backgroundColor: ScanbotColor = ScanbotColor("?sbColorOutline", isArgb = false), croppingHandlerColor: ScanbotColor = ScanbotColor("?sbColorSurface", isArgb = false), croppingPolygonColor: ScanbotColor = ScanbotColor("?sbColorSurface", isArgb = false), croppingPolygonMagneticLineColor: ScanbotColor = ScanbotColor("?sbColorSurface", isArgb = false), bottomBar: CroppingBottomBar = CroppingBottomBar( ))
Properties
Link copied to clipboard
The background color of the cropping screen.
Link copied to clipboard
Configuration of the bottom bar for the cropping screen.
Link copied to clipboard
The color of the cropping handles.
Link copied to clipboard
The color of the cropping polygon.
Link copied to clipboard
The color of the magnetic lines on the cropping polygon.
Link copied to clipboard
Configuration of the 'cancel' button, located in the top bar.
Link copied to clipboard
Configuration of the 'confirm' button, located in the top bar.
Link copied to clipboard
Configuration of the title, located in the top bar.