Font Font(
[int
$sz = -1]
)
|
|
Creates a new Font object.
Parameters:
|
int |
$sz: |
The size of a built-in font. |
Frees the resources used by a font.
void LoadDefault(
int
$sz
)
|
|
Loads a built-in font.
Parameters:
|
int |
$sz: |
The size of the built-in font. |
void LoadGdFont(
string
$path, int
$sz
)
|
|
Loads a GD font.
Parameters:
|
string |
$path: |
The path to the font file. |
|
int |
$sz: |
The font size. |
void LoadPsFont(
string
$path, int
$sz
)
|
|
Loads a PS font.
Parameters:
|
string |
$path: |
The path to the font file. |
|
int |
$sz: |
The font size. |
void LoadTtfFont(
string
$path, int
$sz
)
|
|
Loads a TTF font.
Parameters:
|
string |
$path: |
The path to the font file. |
|
int |
$sz: |
The font size. |