Sfairadora

  • Reference Guide

Rect

A rectangle parallel to the coordination system axes. The coordinates are specified as integer numbers.
Type
Name
Description
Int optional
left
Coordinate of the left edge.
Int optional
top
Coordinate of the top edge.
Int optional
right
Coordinate of the right edge (the first point not to include in the rectangle).
Int optional
bottom
Coordinate of the bottom edge (the first point not to include in the rectangle).
The right and bottom coordinates specify the points not included in the rectangle. Thereof, subtracting the left coordinate from the right, the rectangle’s width is obtained (and similarly for the height).