\Fastknife\Domain\LogicBaseData

Summary

Methods
Properties
Constants
getFontFile()
getBackgroundVo()
No public properties found
FONTSIZE
getRandImage()
getDefaultImage()
$defaultBackgroundPath
$defaultFontPath
N/A
No private methods found
No private properties found
N/A

Constants

FONTSIZE

FONTSIZE = 25

Properties

$defaultBackgroundPath

$defaultBackgroundPath

$defaultFontPath

$defaultFontPath

Methods

getFontFile()

getFontFile(string  $file = '') : string

获取字体包文件

Parameters

string $file

Returns

string —

getBackgroundVo()

getBackgroundVo(null  $backgrounds = null) : \Fastknife\Domain\Vo\BackgroundVo

获取一张背景图地址

Parameters

null $backgrounds

背景图库

Returns

\Fastknife\Domain\Vo\BackgroundVo —

getRandImage()

getRandImage( $images) : string

获得随机图片

Parameters

$images

Returns

string —

getDefaultImage()

getDefaultImage( $dir,  $images) : array|false

获取默认图片

Parameters

$dir
$images

Returns

array|false —