Documentation

Rectangle (Integer) - Open Dev Kit Documentation

Open Dev Kit Documentation :: General :: Rectangle (Integer)

Root.RectInt
Rectangle in 2D space with integer co-ordinates and dimensions

Functions

Constructor ( X Integer, Y Integer, Width Integer, Height Integer )
Creates a rectangle from a set of co-ordinates and dimension integer values

Properties

X Integer
X co-ordinate of the top-left corner
Y Integer
Y co-ordinate of the top-left corner
Width Integer
width of the rectangle
Height Integer
height of the rectangle
Left Integer
X co-ordinate of the left edge
Top Integer
Y co-ordinate of the top edge
Right Integer
X co-ordinate of the right edge
Bottom Integer
Y co-ordinate of the bottom edge
Top Left 2D Vector
co-ordinates of the top-left corner
Top Right 2D Vector
co-ordinates of the top-right corner
Bottom Left 2D Vector
co-ordinates of the bottom-left corner
Bottom Right 2D Vector
co-ordinates of the bottom-right corner
Center 2D Vector
co-ordinates of the center
Size 2D Vector
size of the rectangle

If you think anything is missing, please feel free to: submit documentation feedback on this page