DocumentCleanupToolbarConfiguration

data class DocumentCleanupToolbarConfiguration(var undoButton: BarButtonConfiguration = BarButtonConfiguration( title = StyledText( text = "?documentCleanupUndoButtonTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionDocumentCleanupUndoButton", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ), var redoButton: BarButtonConfiguration = BarButtonConfiguration( title = StyledText( text = "?documentCleanupRedoButtonTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionDocumentCleanupRedoButton", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ), var resetButton: BarButtonConfiguration = BarButtonConfiguration( title = StyledText( text = "?documentCleanupResetButtonTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionDocumentCleanupResetButton", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ), var strokeSizeSlider: DocumentCleanupStrokeSizeSlider = DocumentCleanupStrokeSizeSlider( ), var increaseStrokeSizeButton: IconButton = IconButton( color = ScanbotColor("?sbColorOnPrimary", isArgb = false), accessibilityDescription = "?accessibilityDescriptionDocumentCleanupIncreaseStrokeSizeButton" ), var decreaseStrokeSizeButton: IconButton = IconButton( color = ScanbotColor("?sbColorOnPrimary", isArgb = false), accessibilityDescription = "?accessibilityDescriptionDocumentCleanupDecreaseStrokeSizeButton" )) : Parcelable

Configuration of the toolbar for the clean up screen.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(undoButton: BarButtonConfiguration = BarButtonConfiguration( title = StyledText( text = "?documentCleanupUndoButtonTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionDocumentCleanupUndoButton", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ), redoButton: BarButtonConfiguration = BarButtonConfiguration( title = StyledText( text = "?documentCleanupRedoButtonTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionDocumentCleanupRedoButton", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ), resetButton: BarButtonConfiguration = BarButtonConfiguration( title = StyledText( text = "?documentCleanupResetButtonTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionDocumentCleanupResetButton", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ), strokeSizeSlider: DocumentCleanupStrokeSizeSlider = DocumentCleanupStrokeSizeSlider( ), increaseStrokeSizeButton: IconButton = IconButton( color = ScanbotColor("?sbColorOnPrimary", isArgb = false), accessibilityDescription = "?accessibilityDescriptionDocumentCleanupIncreaseStrokeSizeButton" ), decreaseStrokeSizeButton: IconButton = IconButton( color = ScanbotColor("?sbColorOnPrimary", isArgb = false), accessibilityDescription = "?accessibilityDescriptionDocumentCleanupDecreaseStrokeSizeButton" ))

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Configuration of the button that decreases the stroke size, located next to the stroke-size slider.

Link copied to clipboard

Configuration of the button that increases the stroke size, located next to the stroke-size slider.

Link copied to clipboard

Configuration of the 'redo' button, located in the toolbar.

Link copied to clipboard

Configuration of the 'reset' button, located in the toolbar.

Link copied to clipboard

Configuration of the optional stroke-size slider, located in the toolbar.

Link copied to clipboard

Configuration of the 'undo' button, located in the toolbar.

Functions

Link copied to clipboard
Link copied to clipboard
fun toJson(config: ToJsonConfiguration = ToJsonConfiguration.default()): JSONObject