# final class \SmartSVGCaptcha
{ } ->

Class: SVG Captcha - A SVG Image Plugin for SmartCaptcha
Create a Form Captcha Validation Vector Image (SVG)

- Language: PHP
- Located at: lib/core/plugins/lib_captcha_svg.php
- Package: development:Captcha
- Namespace: \
- Class Name: SmartSVGCaptcha
- Version: v.20231203
- Depends: classes: Smart, SmartMarkersTemplating, SmartSvgCaptchaPoint ; constants: SMART_FRAMEWORK_SECURITY_KEY

## class Methods

public function __construct ( int $numchars, int $width, int $height, MIXED $difficulty = null ) {} @
@param: {INT} $numchars: The number of glyphs (characters) the captcha will contain
@param: {INT} $width: The width of the captcha
@param: {INT} $height: The height of the captcha
@param: {MIXED} $difficulty: The difficulty of the captcha to generate ; Valid values are: -1 = very easy ; 0 = easy (default) ; 1 = moderate ; 2 = hard ; 3 = very hard ; alternate can be an array of settings
Class constructor
public function draw_image ( ) {} -> STRING
@return: {STRING} The Captcha SVG (Vector) Image
Generate the code and the SVG Image
public function get_code ( ) {} -> STRING
@return: {STRING} The Captcha generated code
Get the generated code
Must be call only after draw_image()

## class Properties

## class Constants

documentation generated on: 2024-12-16 16:53:46 +0000

Smart.Framework © 2009-2024 unix-world.org