box()

Bitsbox's box command lets you draw rectangles of any size and color.

You can use the box command with a lot of different parameters, or options. The color parameters are optional.

The most basic usage takes four numbers. The first pair of numbers is the x and y position of the box's top-left corner. The second is its size.

    A square at position 90,90 that's 400 pixels in size.
    The same square, but now it's in a new place.
    Now it's not a square, but a rectangle 100 pixels tall.

You can also pass in color names for the box's background color and line color.

    A small, tan square.
    Now it's a tan square with a red border.

To change the thickness of the line, you can call the line command first, like so:

There's a special color, 'clear' for when want a box with a border but no inside color.

    A small, clear box with a red border.