Packageedu.stanford.covertlab.graphics.shape
Classpublic class ComplexShapeBase
InheritanceComplexShapeBase Inheritance ShapeBase Inheritance com.degrafa.GeometryGroup
SubclassesATPaseShape, CentrosomeShape, DNAShape, EndoplasmicReticulumShape, FlagellumShape, GolgiShape, IgShape, IonChannelShape, MitochondrionShape, PassTransmembraneReceptorShape, PoreShape, YReceptorShape

Base class for complex shapes.

See also

ATPaseShape
CentrosomeShape
DNAShape
EndoplasmicReticulumShape
FlagellumShape
GolgiShape
IgShape
IonChannelShape
MitochondrionShape
PassTransmembraneReceptorShape
PoreShape
YReceptorShape


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

Returns
Number