Packageedu.stanford.covertlab.graphics.shape
Classpublic class CircleShape
InheritanceCircleShape Inheritance ShapeBase Inheritance com.degrafa.GeometryGroup

Draws a circle. Overrides base shape port function.



Public Properties
 PropertyDefined by
 InheritedfillColor : uint
ShapeBase
 Inheritedhash : Boolean
ShapeBase
 InheritedlabelOffsetX : Number = 0
ShapeBase
 InheritedlabelOffsetY : Number = 0
ShapeBase
 InheritedsolidColor : Boolean
ShapeBase
 InheritedstrokeColor : uint
ShapeBase
Protected Properties
 PropertyDefined by
 Inherited_fillColor : uint
ShapeBase
 Inherited_hash : Boolean = false
ShapeBase
 Inheritedsize : Number
ShapeBase
 Inherited_solidColor : Boolean = false
ShapeBase
 Inherited_strokeColor : uint
ShapeBase
 Inheritedtheta : Number
ShapeBase
Public Methods
 MethodDefined by
  
CircleShape(size:Number, strokeColor:uint, fillColor:uint)
CircleShape
 Inherited
getPortBounds():Rectangle
ShapeBase
  
port(theta:Number, sense:Boolean):GraphicPoint
CircleShape
Protected Methods
 MethodDefined by
 Inherited
computeConvexPolygonPort(points:Array, theta:Number, sense:Boolean):GraphicPoint
ShapeBase
 Inherited
normalizeAngle(theta:Number):Number
ShapeBase
 Inherited
rectangleToPoints(rectangle:Rectangle):Array
ShapeBase
Constructor detail
CircleShape()constructor
public function CircleShape(size:Number, strokeColor:uint, fillColor:uint)Parameters
size:Number
 
strokeColor:uint
 
fillColor:uint
Method detail
port()method
public override function port(theta:Number, sense:Boolean):GraphicPointParameters
theta:Number
 
sense:Boolean

Returns
GraphicPoint