API Docs for:
Show:

UIElementRectangle Class

Module: ui

An ui rectangle is like a regular gs.Rect rectangle but if one of the rectangle's coordinates is changed the needsUpdate property of the assigned game object will be set to true to trigger a refresh.

Item Index

Properties

Properties

height

Number

The height of the rectangle.

object

gs.Object_UIElement

The UI object the rectangle belongs to.

width

Number

The width of the rectangle.

x

Number

The x-coordinate of the rectangle.

y

Number

The y-coordinate of the rectangle.