| Package | edu.stanford.covertlab.graphics.shape |
| Class | public class PolygonShapeBase |
| Inheritance | PolygonShapeBase ShapeBase com.degrafa.GeometryGroup |
| Subclasses | HouseShape, ParallelogramShape, RegularPolygonShape, TrapeziumShape |
See also
| Method | Defined by | ||
|---|---|---|---|
|
PolygonShapeBase(size:Number, points:Array, strokeColor:uint, fillColor:uint, theta:Number)
| PolygonShapeBase | ||
![]() |
getPortBounds():Rectangle
| ShapeBase | |
|
port(theta:Number, sense:Boolean):GraphicPoint
| PolygonShapeBase | ||
| PolygonShapeBase | () | constructor |
public function PolygonShapeBase(size:Number, points:Array, strokeColor:uint, fillColor:uint, theta:Number)Parameters
size:Number |
|
points:Array |
|
strokeColor:uint |
|
fillColor:uint |
|
theta:Number |
| port | () | method |
public override function port(theta:Number, sense:Boolean):GraphicPointParameters
theta:Number |
|
sense:Boolean |
GraphicPoint |