# Rectangle
A class that draws rectangles for the Drawer.
- Extends:
Tool
# Constructor
Instantiates a Rectangle tool.
- Arguments
options- Type:
Object - Properties:
paletteIndex- Type:
paletteIndex
- Type:
- Type:
# Instance Accessors
# paletteIndex
The index on the palette indicating the color to fill in the pixel.
get- Type:
number - Default:
0
- Type:
set- Type:
number
- Type: