Class Label
Can be drawn onto the Screen. This is mainly used by ManiaLive.
- ManiaLib\Gui\Component
- ManiaLib\Gui\Element implements ManiaLib\Gui\Drawable
- ManiaLib\Gui\Elements\Format
- ManiaLib\Gui\Elements\Label
Indirect known subclasses
ManiaLib\Gui\Elements\FileEntry
public
|
#
__construct( float $sizeX = 20, float $sizeY = 7 )
Manialink element default constructor. It's common to specify the size of the element in the constructor. |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
setFocusAreaColor1( string $focusareacolor1 )
Set the default background color of the label (if it has one) |
public
|
#
setFocusAreaColor2( string $focusareacolor2 )
Set the background color of the label when mouse is over (if it has one) |
public
string
|
|
public
string
|
|
public
integer
|
|
public
boolean
|
|
public
string
|
|
public
string
|
getTextColor(),
getTextSize(),
setTextColor(),
setTextSize()
|
USE_ABSOLUTE_URL
|
protected
string
|
$xmlTagName | 'label' |
|
protected
string
|
$style |
|
|
protected
integer
|
$posX | 0 |
|
protected
integer
|
$posY | 0 |
|
protected
integer
|
$posZ | 0 |
|
protected
mixed
|
$text |
|
|
protected
mixed
|
$textid |
|
|
protected
mixed
|
$autonewline |
|
|
protected
mixed
|
$maxline |
|
|
protected
mixed
|
$focusAreaColor1 |
|
|
protected
mixed
|
$focusAreaColor2 |
|
$halign,
$subStyle,
$textColor,
$textSize,
$valign
|
$action,
$actionKey,
$bgcolor,
$bgcolorfocus,
$cardElements,
$cardElementsHalign,
$cardElementsLayout,
$cardElementsPosX,
$cardElementsPosY,
$cardElementsPosZ,
$cardElementsValign,
$goto,
$image,
$imageFocus,
$imageFocusid,
$imageid,
$manialink,
$manialinkId,
$scriptevents,
$url,
$urlId,
$xml
|
$id,
$parentFrame,
$parentLayout,
$parentNode,
$relativeHalign,
$relativeValign,
$scale,
$scriptEvents,
$sizeX,
$sizeY,
$visible
|