Package | com.nocircleno.graffiti.tools |
Class | public class ToolMode |
Inheritance | ToolMode ![]() |
Language Version : | ActionScript 3.0 |
Runtime Versions : | AIR 1.0, Flash Player 10 - AIR 1.5 |
Method | Defined By | ||
---|---|---|---|
validMode(mode:String):Boolean [static]
The validMode method is used to validate a mode type. | ToolMode |
Constant | Defined By | ||
---|---|---|---|
ERASE : String = erase [static]
se for eraser functionality. | ToolMode | ||
NORMAL : String = normal [static]
se for regular drawing. | ToolMode |
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
|
Boolean |
ERASE | Constant |
public static const ERASE:String = erase
se for eraser functionality.
NORMAL | Constant |
public static const NORMAL:String = normal
se for regular drawing.