abstract class AbstractFont implements FontInterface
Abstract font base class
Methods
__construct(string $file, integer $size, Color $color)
Constructs a font with specified $file, $size and $color |
||
string |
getFile()
Gets the fontfile for current font |
|
integer |
getSize()
Gets font's integer point size |
|
Color |
getColor()
Gets font's color |
Details
at line 45
public
__construct(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)
at line 55
final public string
getFile()
Gets the fontfile for current font
at line 63
final public integer
getSize()
Gets font's integer point size
at line 71
final public Color
getColor()
Gets font's color