Holds position and width information of a rectangle
Constructor
new gamvas.Rect(x, y, w, h);
Parameters
x/y | top left upper corner of the rectangle (optional) |
w/h | the width and height of the rectangle (optional) |
Summary
gamvas.Rect | Holds position and width information of a rectangle |
Variables | |
x | The x position of the upper left corner of the rectangle |
y | The y position of the upper left corner of the rectangle |
width | The width of the rectangle |
height | The height of the rectangle |