\Captcha

Summary

Methods
Properties
Constants
build()
output()
distort()
$maxAngle
$maxOffset
$phrase
No constants found
phrase()
rand()
drawLine()
writePhrase()
interpolate()
getRGB()
getCol()
font()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$maxAngle

$maxAngle : 

Type

$maxOffset

$maxOffset : 

Type

$phrase

$phrase : 

Type

Methods

build()

build(  $width,   $height) 

Parameters

$width
$height

output()

output(  $quality = 90) 

Parameters

$quality

distort()

distort(  $image,   $width,   $height,   $bg) 

Parameters

$image
$width
$height
$bg

phrase()

phrase() 

rand()

rand(  $min,   $max) 

Parameters

$min
$max

drawLine()

drawLine(  $image,   $width,   $height,   $tcol = null) 

Parameters

$image
$width
$height
$tcol

writePhrase()

writePhrase(  $image,   $phrase,   $font,   $width,   $height) 

Parameters

$image
$phrase
$font
$width
$height

interpolate()

interpolate(  $x,   $y,   $nw,   $ne,   $sw,   $se) 

Parameters

$x
$y
$nw
$ne
$sw
$se

getRGB()

getRGB(  $col) 

Parameters

$col

getCol()

getCol(  $image,   $x,   $y,   $background) 

Parameters

$image
$x
$y
$background

font()

font()