| Package | com.nocircleno.graffiti.tools |
| Class | public class ToolMode |
| Inheritance | ToolMode Object |
| 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 = erasese for eraser functionality.
| NORMAL | Constant |
public static const NORMAL:String = normalse for regular drawing.