The ITool interface will be implemented by the Brush, Line and Shape 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.
|
Mon Mar 9 2009, 01:17 PM -04:00