ApiUiNineSliceGump
Properties
Section titled “Properties”Type: Gump
No enums found.
Methods
Section titled “Methods”GetHue
Section titled “GetHue”Gets the current hue of the nine-slice gump
Return Type: ushort
SetHue
Section titled “SetHue”(hue)
Sets the hue of the nine-slice gump
Parameters:
| Name | Type | Optional | Description |
|---|---|---|---|
hue | ushort | ❌ No | The hue value to set |
Return Type: void (Does not return anything)
GetResizable
Section titled “GetResizable”Gets whether the gump is resizable
Return Type: bool
SetResizable
Section titled “SetResizable”(resizable)
Sets whether the gump is resizable
Parameters:
| Name | Type | Optional | Description |
|---|---|---|---|
resizable | bool | ❌ No | True to make resizable, false otherwise |
Return Type: void (Does not return anything)
GetBorderSize
Section titled “GetBorderSize”Gets the border size of the nine-slice
Return Type: int
SetBorderSize
Section titled “SetBorderSize”(borderSize)
Sets the border size of the nine-slice
Parameters:
| Name | Type | Optional | Description |
|---|---|---|---|
borderSize | int | ❌ No | The border size in pixels |
Return Type: void (Does not return anything)
SetLegionTexture
Section titled “SetLegionTexture”(texture, borderSize)
Set the modern gump texture and border size
Parameters:
| Name | Type | Optional | Description |
|---|---|---|---|
texture | string | ❌ No | |
borderSize | int | ❌ No |
Return Type: void (Does not return anything)