MACs Sandbox provide a number of structures to make API more expressive.
2-dimentional point with coordinates (x, y).
Point()
Point(Float x, Float y)
x
y
2-dimentional size with dimentions (width, height).
Size()
Size(Float w, Float h)
w
h
2-dimentional rectangle with Point origin and Size dimentions.
Rect()
Rect(Float x, Float y, Float w, Float h)
xywhColor in RGBA color space. Each component range is 0-255
Color(Int r, Int g, Int b, Int a)