$maxFrontLines $maxFrontLines : The maximum number of lines to draw in front of the image. null - use default algorithm. Type
$maxBehindLines $maxBehindLines : The maximum number of lines to draw behind the image. null - use default algorithm. Type
setInterpolation() setInterpolation( $interpolate = true) : \CaptchaBuilder Enable/Disables the interpolation. Parameters $interpolate bool True to enable, false to disable Returns \CaptchaBuilder
setBackgroundColor() setBackgroundColor( $r, $g, $b) Sets the background color to use. Parameters $r $g $b
setIgnoreAllEffects() setIgnoreAllEffects(boolean $ignoreAllEffects) : \CaptchaBuilder Sets the ignoreAllEffects value. Parameters boolean $ignoreAllEffects Returns \CaptchaBuilder
setBackgroundImages() setBackgroundImages(array $backgroundImages) Sets the list of background images to use (one image is randomly selected). Parameters array $backgroundImages
distort() distort( $image, $width, $height, $bg) Distorts the image. Parameters $image $width $height $bg
drawLine() drawLine( $image, $width, $height, $tcol = null) Draw lines over the image. Parameters $image $width $height $tcol
writePhrase() writePhrase( $image, $phrase, $font, $width, $height) Writes the phrase on the image. Parameters $image $phrase $font $width $height
rand() rand( $min, $max) Returns a random number or the next number in the fingerprint. Parameters $min $max
interpolate() interpolate( $x, $y, $nw, $ne, $sw, $se) : integer Parameters $x $y $nw $ne $sw $se Returns integer
getCol() getCol( $image, $x, $y, $background) : integer Parameters $image $x $y $background Returns integer