Packagecom.nocircleno.graffiti.tools
Classpublic class ShapeType
InheritanceShapeType Inheritance Object

Class provides constant values to use to define the types of Shapes.



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