Constructs new UI.WindowLocation instance with default position and size (fullscreen window).
Constructs new UI.WindowLocation instance with specified parameters.
Constructs new UI.WindowLocation instance with default position and size (fullscreen window).
Constructs new UI.WindowLocation instance with specified parameters.
Window location as a js object. Note that paddings are not included into the object.
Creates a copy of current UI.WindowLocation object.
Newly created copy of the object.
Window's rectangle in the android.graphics.Rect object.
Sets window location parameters.
X coordinate of the window
Y coordinate of the window
width of the window
height of the window
Sets window location parameters from another UI.WindowLocation. Note that paddings are not copied instance.
another UI.WindowLocation instance to copy parameters from
Sets padding of the window.
value of the padding to be assigned to appropriate window bound
Sets the four paddings of the window for the appropriate bounds.
Determines whether the interface needs to be resized based on its size or a global unit system should be used.
Window height.
Window scale.
Horizontal window scroll.
Vertical window scroll.
Window width.
Window horizontal position.
Window vertical position.
Window position on layers.
Static
Readonly
PADDING_Constant used to represent bottom padding.
Static
Readonly
PADDING_Constant used to represent left padding.
Static
Readonly
PADDING_Constant used to represent right padding.
Static
Readonly
PADDING_Constant used to represent top padding.
Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.
Class representing window's location. All coordinates are defined in units (given screen's width is 1000 units).