Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Laravolt
Avatar
Avatar
setFont
Laravolt\Avatar\Avatar::setFont PHP Method
Avatar Class Documentation
Show file
Open project: laravolt/avatar
setFont()
public
method
public
setFont
(
$font
)
public function setFont($font) { if (is_file($font)) { $this->font = $font; } return $this; }
Avatar
__construct
__toString
buildAvatar
cacheKey
chooseFont
create
createCircleShape
createShape
createSquareShape
getBorderColor
getImageObject
getInitial
getRandomBackground
getRandomElement
getRandomForeground
save
setBackground
setBorder
setDimension
setFont
setFontFolder
setFontSize
setForeground
setRandomFont
setShape
toBase64