Packagecom.nocircleno.graffiti.tools
Classpublic class ToolMode
InheritanceToolMode Inheritance Object

Language Version : ActionScript 3.0
Runtime Versions : AIR 1.0, Flash Player 10 - AIR 1.5

The Tool Drawing Mode



Public Methods
 MethodDefined By
  
validMode(mode:String):Boolean
[static] The validMode method is used to validate a mode type.
ToolMode
Public Constants
 ConstantDefined By
  ERASE : String = erase
[static] se for eraser functionality.
ToolMode
  NORMAL : String = normal
[static] se for regular drawing.
ToolMode
Method Detail
validMode()method
public static function validMode(mode:String):Boolean

The validMode method is used to validate a mode type.

Parameters

mode:String — String to check to see if it is a valid Tool Mode

Returns
Boolean
Constant Detail
ERASEConstant
public static const ERASE:String = erase

se for eraser functionality.

NORMALConstant 
public static const NORMAL:String = normal

se for regular drawing.