AddBoxToPath(id, x, y, width, height[, table])
id. You have
to provide the position and size of the rectangle in the other arguments.
AddBoxToPath() will start a new subpath for the rectangle and close it.
The optional argument table allows you to configure the rectangle's
style. The following tags are currently recognized:
RoundLevel:
CornerA, CornerB, CornerC, CornerD:RoundLevel tag.