Optional
charactersNumber of random characters to generate (ignored if text is provided)
Optional
textSpecific text to display (overrides random generation)
Optional
colorText color as hex code, RGB, or color name (overridden by colors array)
Optional
fontFont family name (e.g., 'Arial', 'Times', 'Sans')
Optional
skewWhether to apply random skewing transformation to characters
Optional
colorsArray of colors for multi-color text (overrides color property)
Optional
rotateMaximum rotation angle in degrees (±rotate range)
Optional
sizeFont size in pixels
Optional
opacityText opacity (0.0 to 1.0)
Configuration interface for CAPTCHA text appearance and generation in CaptchaGenerator.
Example: Basic text configuration
Example: Random text generation