UiElement.getScreenWidth

Get the width of the screen this element is displayed on.

class UiElement
int
getScreenWidth
()

Return Value

Type: int

The width of the screen.

Meta