CroppingJsonConfiguration

data class CroppingJsonConfiguration(var version: String? = null, var screen: String? = null, var cancelButtonTitle: String? = null, var hintTitle: String? = null, var hintTitleColor: JsonColor? = null, var backgroundColor: JsonColor? = null, var rotateButtonTitle: String? = null, var resetButtonTitle: String? = null, var detectButtonTitle: String? = null, var doneButtonTitle: String? = null, var rotateButtonHidden: Boolean? = null, var detectResetButtonHidden: Boolean? = null, var orientationLockMode: JsonOrientationLockMode? = null, var polygonColor: JsonColor? = null, var anchorPointsColor: JsonColor? = null, var polygonColorMagnetic: JsonColor? = null, var polygonLineWidth: Double? = null, var topBarBackgroundColor: JsonColor? = null, var topBarButtonsActiveColor: JsonColor? = null, var bottomBarBackgroundColor: JsonColor? = null, var bottomBarButtonsColor: JsonColor? = null, var useButtonsAllCaps: Boolean? = null, var swapTopBottomButtons: Boolean? = null, var accessibilityConfiguration: JsonCroppingAccessibilityConfiguration? = null) : Parcelable

Constructors

Link copied to clipboard
constructor(version: String? = null, screen: String? = null, cancelButtonTitle: String? = null, hintTitle: String? = null, hintTitleColor: JsonColor? = null, backgroundColor: JsonColor? = null, rotateButtonTitle: String? = null, resetButtonTitle: String? = null, detectButtonTitle: String? = null, doneButtonTitle: String? = null, rotateButtonHidden: Boolean? = null, detectResetButtonHidden: Boolean? = null, orientationLockMode: JsonOrientationLockMode? = null, polygonColor: JsonColor? = null, anchorPointsColor: JsonColor? = null, polygonColorMagnetic: JsonColor? = null, polygonLineWidth: Double? = null, topBarBackgroundColor: JsonColor? = null, topBarButtonsActiveColor: JsonColor? = null, bottomBarBackgroundColor: JsonColor? = null, bottomBarButtonsColor: JsonColor? = null, useButtonsAllCaps: Boolean? = null, swapTopBottomButtons: Boolean? = null, accessibilityConfiguration: JsonCroppingAccessibilityConfiguration? = null)

Properties

Link copied to clipboard

Allows you to customize the accessibility configuration for the Cropping UI

Link copied to clipboard

Default color of the cropping draggable elements.

Link copied to clipboard

Background color of the screen.

Link copied to clipboard

The background color of the bottom shutter-bar.

Link copied to clipboard

The color of the title of all buttons in the bottom shutter-bar (Cancel button, etc.), as well as the camera permission prompt button.

Link copied to clipboard

Title of the cancel button.

Link copied to clipboard

Title of the Detect button.

Link copied to clipboard

Changes the visibility of Detect and Reset buttons.

Link copied to clipboard

Title of the Done button.

Link copied to clipboard

Text of the edit screen hint.

Link copied to clipboard

Color of the edit screen hint text.

Link copied to clipboard

UI Interface orientation lock mode

Link copied to clipboard

Default color of the cropping outline.

Link copied to clipboard

Outline color of magnetically snapped edges.

Link copied to clipboard

Width of the detected document outline.

Link copied to clipboard

Title of the Reset button.

Link copied to clipboard

Changes the visibility of the Rotate button.

Link copied to clipboard

Title of the Rotate button.

Link copied to clipboard

The configuration object should be applied for this screen

Link copied to clipboard

Swap top and bottom buttons on the screen

Link copied to clipboard

The background color of the top toolbar.

Link copied to clipboard

The color of all active toggle buttons in the toolbar.

Link copied to clipboard

Controls whether buttons should use all capitals style, as defined by the Android Material Design. Defaults to TRUE. Android only.

Link copied to clipboard

A version of the configuration object

Functions