Prado\Web\UI\WebControls\TCaptcha::setTokenImageTheme PHP Method

setTokenImageTheme() public method

You may test each theme to find out the one you like the most. Below is the explanation of the theme value: It is treated as a 5-bit integer. Each bit toggles a specific feature of the image. Bit 0 (the least significant): whether the image is opaque (1) or transparent (0). Bit 1: whether we should add white noise to the image (1) or not (0). Bit 2: whether we should add a grid to the image (1) or not (0). Bit 3: whether we should add some scribbles to the image (1) or not (0). Bit 4: whether the image background should be morphed (1) or not (0). Bit 5: whether the token text should cast a shadow (1) or not (0).
public setTokenImageTheme ( $value )
    public function setTokenImageTheme($value)
    {
        $value = TPropertyValue::ensureInteger($value);
        if ($value >= 0 && $value <= 63) {
            $this->setViewState('TokenImageTheme', $value, 0);
        } else {
            throw new TConfigurationException('captcha_tokenimagetheme_invalid', 0, 63);
        }
    }