GUIFieldset
new GUIFieldset(id, options, guimanager, append)
Creates a new GUIFieldset
Parameters
Name | Type | Description |
---|---|---|
Name id | Type string | Description The id and name element |
Name options | Type json | Description Options of element |
Name guimanager | Type GUIManager | Description The gui manager |
Name append | Type bool | Description is added to the <body>. => True by default (optional) |
Options
- w: width of fieldset (in pixel)
- h: height of fieldset (in pixel)
- x: position left of fieldset (in pixel)
- y: position top of fieldset (in pixel)
- legend: value legend od the fieldset (string)
- zIndex: depth of the element (int) => 1 by default
Methods
add(element) → void
add element in the GUIFieldset
setVisible(bool, fade) → void
Set this GUI element to visible or invisible
isVisible() → void
Returns element if is visible or no
dispose() → void
Dispose the GUIFieldset, and delete element.