Interface SetCaptchaOptions

SetCaptchaOptions

Description

Options for setting captcha text

interface SetCaptchaOptions {
    characters?: number;
    color?: string;
    colors?: string[];
    end?: number;
    font?: string;
    opacity?: number;
    rotate?: number;
    size?: number;
    skew?: boolean;
    start?: number;
    text?: string;
}

Properties

characters?: number

Number of characters in captcha

color?: string

Color of the captcha text

colors?: string[]

Array of colors for captcha text

end?: number

End index of the segment

font?: string

Font of the captcha text

opacity?: number

Opacity of the captcha text

rotate?: number

Rotation angle of captcha text

size?: number

Size of the captcha text

skew?: boolean

Whether to skew the captcha text

start?: number

Start index of the segment

text?: string

Captcha text