| Package | com.nocircleno.graffiti.tools |
| Class | public class ShapeType |
| Inheritance | ShapeType Object |
| 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 shape type. | ShapeType | ||
| Constant | Defined 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 | ||
| 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.
|
Boolean |
| CIRCLE | Constant |
public static const CIRCLE:String = circleCircle Shape
| OVAL | Constant |
public static const OVAL:String = ovalOval Shape
| RECTANGLE | Constant |
public static const RECTANGLE:String = rectangleRectangle Shape
| SQUARE | Constant |
public static const SQUARE:String = squareSquare Shape