Interface ICutout

interface ICutout {
    cutoutConfig: {
        alignment?: "center" | "top_half" | "bottom_half";
        animation?: string;
        cornerRadius?: number;
        cropOffset?: {
            x: number;
            y: number;
        };
        cropPadding?: {
            x: number;
            y: number;
        };
        delay?: number;
        feedbackStrokeColor?: string;
        inactiveStrokeColor?: string;
        maxHeightPercent?: string;
        maxWidthPercent: string;
        outerAlpha?: number;
        outerColor?: string;
        ratioFromSize: {
            height: number;
            width: number;
        };
        strokeColor?: string;
        strokeWidth?: number;
        style?: "rect" | "contour_rect";
        width: number;
    };
    scanFeedback?: {
        animation?: "traverse_multi";
        animationDuration?: number;
        beepOnResult?: boolean;
        blinkAnimationOnResult?: boolean;
        strokeColor?: string;
        strokeWidth?: number;
        style?: "rect" | "contour_rect";
        timeout?: number;
        vibrateOnResult?: boolean;
    };
}

Properties

cutoutConfig: {
    alignment?: "center" | "top_half" | "bottom_half";
    animation?: string;
    cornerRadius?: number;
    cropOffset?: {
        x: number;
        y: number;
    };
    cropPadding?: {
        x: number;
        y: number;
    };
    delay?: number;
    feedbackStrokeColor?: string;
    inactiveStrokeColor?: string;
    maxHeightPercent?: string;
    maxWidthPercent: string;
    outerAlpha?: number;
    outerColor?: string;
    ratioFromSize: {
        height: number;
        width: number;
    };
    strokeColor?: string;
    strokeWidth?: number;
    style?: "rect" | "contour_rect";
    width: number;
}
scanFeedback?: {
    animation?: "traverse_multi";
    animationDuration?: number;
    beepOnResult?: boolean;
    blinkAnimationOnResult?: boolean;
    strokeColor?: string;
    strokeWidth?: number;
    style?: "rect" | "contour_rect";
    timeout?: number;
    vibrateOnResult?: boolean;
}