captcha-canvas API Documentation - v3.3.4
    Preparing search index...

    Variable defaultTraceOptionsConst

    defaultTraceOptions: SetTraceOption = ...

    Default configuration for trace lines connecting CAPTCHA characters.

    Trace lines provide additional security by making character segmentation more difficult for automated systems. These defaults create visible but not overwhelming connecting lines.

    const captcha = new CaptchaGenerator()
    .setCaptcha({ text: 'HELLO' })
    .setTrace({}); // Uses all defaults
    const captcha = new CaptchaGenerator()
    .setTrace({
    ...defaultTraceOptions,
    color: '#95a5a6', // Different color
    opacity: 0.7 // More subtle
    });