interface CroppingConfiguration {
    accessibilityConfiguration?: CroppingAccessibilityConfiguration;
    anchorPointsColor?: string;
    backgroundColor?: string;
    bottomBarBackgroundColor?: string;
    bottomBarButtonsColor?: string;
    cancelButtonTitle?: string;
    detectButtonTitle?: string;
    detectResetButtonHidden?: boolean;
    doneButtonTitle?: string;
    hintTitle?: string;
    hintTitleColor?: string;
    orientationLockMode?: OrientationLockMode;
    polygonColor?: string;
    polygonColorMagnetic?: string;
    polygonLineWidth?: number;
    resetButtonTitle?: string;
    rotateButtonHidden?: boolean;
    rotateButtonTitle?: string;
    swapTopBottomButtons?: boolean;
    topBarBackgroundColor?: string;
    topBarButtonsActiveColor?: string;
    topBarTitle?: string;
    topBarTitleColor?: string;
    useButtonsAllCaps?: boolean;
}

Properties

accessibilityConfiguration?: CroppingAccessibilityConfiguration

Allows you to customize the accessibility configuration for the Cropping UI

anchorPointsColor?: string

Default color of the cropping draggable elements.

backgroundColor?: string

Background color of the screen.

bottomBarBackgroundColor?: string

The background color of the bottom shutter-bar.

bottomBarButtonsColor?: string

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

cancelButtonTitle?: string

Title of the cancel button.

detectButtonTitle?: string

Title of the Detect button.

detectResetButtonHidden?: boolean

Changes the visibility of Detect and Reset buttons.

doneButtonTitle?: string

Title of the Done button.

hintTitle?: string

Text of the edit screen hint.

hintTitleColor?: string

Color of the edit screen hint text.

orientationLockMode?: OrientationLockMode

UI Interface orientation lock mode

polygonColor?: string

Default color of the cropping outline.

polygonColorMagnetic?: string

Outline color of magnetically snapped edges.

polygonLineWidth?: number

Width of the detected document outline.

resetButtonTitle?: string

Title of the Reset button.

rotateButtonHidden?: boolean

Changes the visibility of the Rotate button.

rotateButtonTitle?: string

Title of the Rotate button.

swapTopBottomButtons?: boolean

Swap top and bottom buttons on the screen

topBarBackgroundColor?: string

The background color of the top toolbar.

topBarButtonsActiveColor?: string

The color of all active toggle buttons in the toolbar.

topBarTitle?: string

The title of the Cropping UI Screen. iOS only

topBarTitleColor?: string

The color of the title. iOS only

useButtonsAllCaps?: boolean

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