# Pen
A class that pens in square areas for the Drawer.
- Extends:
Tool
# Constructor
Instantiates a Pen tool.
- Arguments
options- Type:
Object - Properties:
size- Type:
number
- Type:
paletteIndex- Type:
paletteIndex
- Type:
- Type:
# Instance Accessors
# size
The size of the square area to draw using the pen.
get- Type:
number - Default:
1
- Type:
set- Type:
number
- Type:
# paletteIndex
The index on the palette indicating the color to fill in the pixel.
get- Type:
number - Default:
0
- Type:
set- Type:
number
- Type: