GuiComponent
Description
The GuiComponent is a generic and abstract element that only contains position, size and scale info.
Located in /gui-toolkit/standard.php (line 21)
Direct descendents
Class | Description |
---|---|
PageNavigator | Page Navigator |
AbstractLayout | Abstract layout |
GuiElement | Base class for creating GUI elements |
Method Summary
Methods
setPosition (line 67)
Sets the position of the element
void
setPosition
([float $posX = 0], [float $posY = 0], [float $posZ = 0])
- float $posX
- float $posY
- float $posZ
setPositionX (line 38)
Sets the X position of the element
void
setPositionX
(float $posX)
- float $posX
setPositionY (line 47)
Sets the Y position of the element
void
setPositionY
(float $posY)
- float $posY
setPositionZ (line 56)
Sets the Z position of the element
void
setPositionZ
(float $posZ)
- float $posZ
setScale (line 108)
Sets the scale factor of the element. 1=original size, 2=double size, 0.5
=half size
void
setScale
(float $scale)
- float $scale
setSize (line 97)
Sets the size of the element
void
setSize
(float $sizeX, float $sizeY)
- float $sizeX
- float $sizeY
Redefined in descendants as:
- PageNavigator::setSize() : Sets the size of the navigation icons
setSizeX (line 78)
Sets the width of the element
void
setSizeX
(float $sizeX)
- float $sizeX
Redefined in descendants as: