Class ComponentLabel
The label component, used to display text.
- Component
-
ComponentLabel
public
|
#
__construct(
Creates a new Label component. |
public
integer
|
|
public
|
|
public
integer
|
|
public
|
string |
FONT_DIRECTORY
The directory in which the font files are located. |
#
'fonts/'
|
string |
FONT_REGULAR
fonts/exo2regular.ttf |
#
'exo2regular.ttf'
|
string |
FONT_MEDIUM
fonts/exo2medium.ttf |
#
'exo2medium.ttf'
|
string |
FONT_BOLD
fonts/exo2bold.ttf |
#
'exo2bold.ttf'
|
string |
FONT_OSU
fonts/osu!font.ttf |
#
'osu!font.ttf'
|
$usesSpace,
$x,
$y
|