class Font extends AbstractFont
Methods
__construct(Imagick $imagick, string $file, integer $size, Color $color)
Constructs a font with specified $file, $size and $color |
||
string |
getFile()
Gets the fontfile for current font |
from AbstractFont |
integer |
getSize()
Gets font's integer point size |
from AbstractFont |
Color |
getColor()
Gets font's color |
from AbstractFont |
BoxInterface |
box(string $string, integer $angle)
Gets BoxInterface of font size on the image based on string and angle |
Details
at line 31
public
__construct(Imagick $imagick, string $file, integer $size, Color $color)
Constructs a font with specified $file, $size and $color
The font size is to be specified in points (e.g. 10pt means 10)
in AbstractFont at line 52
final public string
getFile()
Gets the fontfile for current font
in AbstractFont at line 60
final public integer
getSize()
Gets font's integer point size
in AbstractFont at line 68
final public Color
getColor()
Gets font's color
at line 41
public BoxInterface
box(string $string, integer $angle)
Gets BoxInterface of font size on the image based on string and angle