Rectangle representation based on pixels
Address of native referenced object. nullptr if not referencing any native allocated object. Note native allocation will happen only once.
Return the lowest y coordinate (bottom side) of the rectangle.
Returns the center of the rectangle
Returns the dimensions of the rectangle
Viewport height, in pixels.from top edge of screen.
Return the rightmost x coordinate (right side) of the rectangle.
Viewport width, in pixels.from top edge of screen.
Horizontal offset of viewport from left edge of screen.
Vertical offset of viewport from top edge of screen.
Overrides finalize that garbage collector will call when needed.
Expand viewport by adding 2dx to its width and 2dy to its height, while leaving its center unmoved.
Returns true if all 4 sides of the rectangle are set to zero.
True if keeps a reference to a C++ SDK object False if keeps a C++ SDK object
Checks if this object is valid.
Check if XY position is inside rectangle
Releases the native referenced value of this object if:
Converts this to Rect