| Language Version : | ActionScript 3.0 |
| Runtime Versions : | AIR 1.0, Flash Player 10 - AIR 1.5 |
The ITool interface will be implemented by the BrushTool, LineTool and ShapeTool Classes.
mode:String [read-write]
Implementation public function get mode():String public function set mode(value:String):voidrenderType:String [read-only]
Tools Render Mode
Implementation public function get renderType():Stringtype:String [read-write]
Implementation public function get type():String public function set type(value:String):void public function apply(drawingTarget:DisplayObject, point1:Point, point2:Point = null):void
The apply method must be implemented by the sub Class.
Parameters
| drawingTarget:DisplayObject — Sprite object to draw to.
|
| |
| point1:Point — First Point of Drawing interaction.
|
| |
| point2:Point (default = null) — Second Point of Drawing interaction.
|
public function resetTool():void
The resetTool method must be implemented by the sub Class.
Mon Mar 9 2009, 01:43 PM -04:00