LavishGUI:lguiframe (Data Type)

From Lavish Software Wiki
Jump to navigation Jump to search

Description

This data type provides and controls data for frame (Element Type).

Members

  • int BackgroundColor : color of the background
  • int BorderColor : color of the border
  • lguitexture Texture: texture of the frame

Methods

  • SetBackgroundColor[#] : sets the background color to <#> (use hex value e.g. FFFFFF00)
  • SetBorderColor[#] : sets the background color to <#> (use hex value e.g. FFFFFF00)


Inherits

lguielement

Returns

Same as lguielement.Name

Examples

Display BorderColor

  • echo Border Color(in hex): ${UIElement[test].FindChild[test].BorderColor.Hex}
Output
Border Color(in hex): ffffebce

Set background color

  • UIElement[test].FindChild[test]:SetBackgroundColor[FFFF00FF]
This command sets the BackgroundColor to FFFF00FF(pink)

See Also