Packageedu.stanford.covertlab.graphics.shape
Classpublic class IgShape
InheritanceIgShape Inheritance ComplexShapeBase Inheritance ShapeBase Inheritance com.degrafa.GeometryGroup

Draws a Ig receptor. Overrides base shape port function with bounds base on a convex polygon bounding the shape.



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
  
IgShape(size:Number, strokeColor:uint, fillColor:uint)
IgShape
 Inherited
getPortBounds():Rectangle
ShapeBase
  
port(theta:Number, sense:Boolean):GraphicPoint
IgShape
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
 Inherited
translateScale(size:Number, svgBounds:Rectangle, svgScale:Array = null):void
ComplexShapeBase
 Inherited
translateScalePoint(x:Number, tx:Number, scale:Number):Number
ComplexShapeBase
Constructor detail
IgShape()constructor
public function IgShape(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