BOX

The BOX method draws a rectangle with the two corners (x1|y1) and (x2|y2).

  • The line thickness is defined using the STROKE method.
  • The color is defined using the COLOR method.
  • The fill is defined using the FILL method.

BOX(x1, y1, x2, y2)