Package | com.nocircleno.graffiti.tools |
Class | public class BrushType |
Inheritance | BrushType ![]() |
Language Version : | ActionScript 3.0 |
Runtime Versions : | AIR 1.0, Flash Player 10 - AIR 1.5 |
Method | Defined By | ||
---|---|---|---|
validType(type:String):Boolean [static]
The validType method is used to validate a brush type. | BrushType |
Constant | Defined By | ||
---|---|---|---|
BACKWARD_LINE : String = backward_line [static]
Backward Line Brush '\'
| BrushType | ||
DIAMOND : String = diamond [static]
Diamond Brush
| BrushType | ||
FORWARD_LINE : String = forward_line [static]
Foward Line Brush '/'
| BrushType | ||
HORIZONTAL_LINE : String = horizontal_line [static]
Horizontal Line Brush '-'
| BrushType | ||
ROUND : String = round [static]
Round Brush
| BrushType | ||
SQUARE : String = square [static]
Square Brush
| BrushType | ||
VERTICAL_LINE : String = vertical_line [static]
Vertical Line Brush '|'
| BrushType |
validType | () | method |
public static function validType(type:String):Boolean
The validType
method is used to validate a brush type.
Parameters
type:String — String to check to see if it is a valid Brush Type.
|
Boolean |
BACKWARD_LINE | Constant |
public static const BACKWARD_LINE:String = backward_line
Backward Line Brush '\'
DIAMOND | Constant |
public static const DIAMOND:String = diamond
Diamond Brush
FORWARD_LINE | Constant |
public static const FORWARD_LINE:String = forward_line
Foward Line Brush '/'
HORIZONTAL_LINE | Constant |
public static const HORIZONTAL_LINE:String = horizontal_line
Horizontal Line Brush '-'
ROUND | Constant |
public static const ROUND:String = round
Round Brush
SQUARE | Constant |
public static const SQUARE:String = square
Square Brush
VERTICAL_LINE | Constant |
public static const VERTICAL_LINE:String = vertical_line
Vertical Line Brush '|'