[operations] [attributes] [fields] [template] [definition]
[implementation] [documentation]
To use the search tool you need to use a browser which supports JAVA (c)

[next] [prev] [superclass] [next peer] [prev peer] [subclass] [index] [hierarchy]

DrawTool

inherits from ChooseableTool
inherits from HasLineStyleAttribute

Object <- ChooseableTool <- DrawTool



Operations

Get list of all operations

DrawImage
IsWritingTool
MakeViewable
ReinitializeClass
ShouldFreezeScreen
TouchTarget


Attributes

Get list of all attributes

LineStyle


Fields

Field Type
ChooseableTool: image: Image
HasLineStyleAttribute: lineStyle: LineStyle


Instance template

instance DrawTool tag;
          image: nilObject;
      lineStyle: nilObject;
end instance;

Class definition

Define Class DrawTool;
    // a tool that draws
    inherits from ChooseableTool, HasLineStyleAttribute;

    overrides DrawImage, ReinitializeClass;
    overrides IsWritingTool;
    overrides MakeViewable;
    overrides SetLineStyle;
    overrides ShouldFreezeScreen;
    overrides TouchTarget;
end class;