Object <- ChooseableTool <- DrawTool <- EraseTool |
|
|
TouchTarget |
Class EraseTool defines no new attributes.
Fields
| Field | Type | |
|---|---|---|
| ChooseableTool: | image: | Image |
| HasLineStyleAttribute: | lineStyle: | LineStyle |
instance EraseTool tag; image: nilObject; lineStyle: nilObject; end instance;
Define Class EraseTool; // a tool that erases scribbles inherits from DrawTool; overrides TouchTarget; end class;