Packagecom.nocircleno.graffiti.tools
Classpublic class ShapeType
InheritanceShapeType 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 shapes available.



Public Methods
 MethodDefined By
  
validType(type:String):Boolean
[static] The validType method is used to validate a shape type.
ShapeType
Public Constants
 ConstantDefined By
  CIRCLE : String = circle
[static] Circle Shape
ShapeType
  OVAL : String = oval
[static] Oval Shape
ShapeType
  RECTANGLE : String = rectangle
[static] Rectangle Shape
ShapeType
  SQUARE : String = square
[static] Square Shape
ShapeType
Method Detail
validType()method
public static function validType(type:String):Boolean

The validType method is used to validate a shape type.

Parameters

type:String — String to check to see if it is a valid Shape Type.

Returns
Boolean
Constant Detail
CIRCLEConstant
public static const CIRCLE:String = circle

Circle Shape

OVALConstant 
public static const OVAL:String = oval

Oval Shape

RECTANGLEConstant 
public static const RECTANGLE:String = rectangle

Rectangle Shape

SQUAREConstant 
public static const SQUARE:String = square

Square Shape