Packagecom.nocircleno.graffiti.tools
Classpublic class BrushType
InheritanceBrushType Inheritance Object

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

Class provides constant values used to define the types of brushes available.



Public Methods
 MethodDefined By
  
validType(type:String):Boolean
[static] The validType method is used to validate a brush type.
BrushType
Public Constants
 ConstantDefined 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
Method Detail
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.

Returns
Boolean
Constant Detail
BACKWARD_LINEConstant
public static const BACKWARD_LINE:String = backward_line

Backward Line Brush '\'

DIAMONDConstant 
public static const DIAMOND:String = diamond

Diamond Brush

FORWARD_LINEConstant 
public static const FORWARD_LINE:String = forward_line

Foward Line Brush '/'

HORIZONTAL_LINEConstant 
public static const HORIZONTAL_LINE:String = horizontal_line

Horizontal Line Brush '-'

ROUNDConstant 
public static const ROUND:String = round

Round Brush

SQUAREConstant 
public static const SQUARE:String = square

Square Brush

VERTICAL_LINEConstant 
public static const VERTICAL_LINE:String = vertical_line

Vertical Line Brush '|'