\Fastknife\Domain\LogicWordImage

文字码图片处理 Class WordCaptchaEntity

Summary

Methods
Properties
Constants
getPoint()
setPoint()
setWatermark()
setBackgroundVo()
getBackgroundVo()
setFontFile()
run()
setWordList()
getWordList()
response()
echo()
No public properties found
No constants found
makeWatermark()
inputWords()
$watermark
$backgroundVo
$fontFile
$point
$wordList
N/A
No private methods found
No private properties found
N/A

Properties

$watermark

$watermark

$backgroundVo

$backgroundVo : \Fastknife\Domain\Vo\BackgroundVo

Type

BackgroundVo

$fontFile

$fontFile

$point

$point

$wordList

$wordList : array

Type

array

Methods

getPoint()

getPoint() : mixed

Returns

mixed —

setPoint()

setPoint( $point) : \Fastknife\Domain\Logic\WordImage

Parameters

$point

Returns

\Fastknife\Domain\Logic\WordImage —

setWatermark()

setWatermark(mixed  $watermark) : self

Parameters

mixed $watermark

Returns

self —

setBackgroundVo()

setBackgroundVo(\Fastknife\Domain\Vo\BackgroundVo  $backgroundVo) : $this

Parameters

\Fastknife\Domain\Vo\BackgroundVo $backgroundVo

Returns

$this —

getBackgroundVo()

getBackgroundVo() : \Fastknife\Domain\Vo\BackgroundVo

Returns

\Fastknife\Domain\Vo\BackgroundVo —

setFontFile()

setFontFile( $file) : static

Parameters

$file

Returns

static —

run()

run() : mixed

Returns

mixed —

setWordList()

setWordList(array  $wordList) : self

Parameters

array $wordList

Returns

self —

getWordList()

getWordList() : mixed

Returns

mixed —

response()

response() : false|string[]

返回前端需要的格式

Returns

false|string[] —

echo()

echo() : mixed

用来调试

Returns

mixed —

makeWatermark()

makeWatermark(\Intervention\Image\Image  $image) : mixed

Parameters

\Intervention\Image\Image $image

Returns

mixed —

inputWords()

inputWords() : mixed

写入文字

Returns

mixed —