react-native-scanbot-sdk
    Preparing search index...

    Interface ScanbotCroppingViewProperties

    interface ScanbotCroppingViewProperties {
        anchorPointsColor?: ColorValue;
        edgeColor?: ColorValue;
        edgeColorOnLine?: ColorValue;
        edgeLineWidth?: number;
        onCroppedAreaResult: (result: CroppingViewResult) => void | Promise<void>;
        onError?: (error: SBError) => void;
        src: ImageSrc;
        style?: StyleProp<ViewStyle>;
    }
    Index
    anchorPointsColor?: ColorValue

    The color of the anchor points.

    edgeColor?: ColorValue

    The color of the non-snapped edges.

    edgeColorOnLine?: ColorValue

    The color of the edges when positioned on the magnetic line.

    edgeLineWidth?: number

    The width of the edges.

    onCroppedAreaResult: (result: CroppingViewResult) => void | Promise<void>

    A result callback that is triggered with extractCroppedArea.

    onError?: (error: SBError) => void

    An error callback that is triggered when an error occurs.

    The source of the image, specified either by a local file URI or an ImageRef UUID.

    style?: StyleProp<ViewStyle>