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 draggable cropping elements.

backgroundColor?: string

Background color of the screen.

bottomBarBackgroundColor?: string

Background color of the bottom bar.

bottomBarButtonsColor?: string

Color of all buttons in the bottom bar.

cancelButtonTitle?: string

Title of the cancel button.

detectButtonTitle?: string

Title of the Detect button.

detectResetButtonHidden?: boolean

Whether to hide the 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

Lock mode for the UI orientation.

polygonColor?: string

Default color of the cropping outline.

polygonColorMagnetic?: string

Outline color of magnetically snapped edges.

polygonLineWidth?: number

Width of the detected document's outline.

resetButtonTitle?: string

Title of the Reset button.

rotateButtonHidden?: boolean

Whether to hide the Rotate button.

rotateButtonTitle?: string

Title of the Rotate button.

swapTopBottomButtons?: boolean

Whether to swap the top and bottom buttons on the screen.

topBarBackgroundColor?: string

Background color of the top bar.

topBarButtonsActiveColor?: string

Color of all buttons in the top bar.

topBarTitle?: string

The title of the Cropping UI Screen. iOS only.

topBarTitleColor?: string

The color of the title. iOS only.

useButtonsAllCaps?: boolean

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