Packageptolemy.geom3D.platonic
Classpublic class Platonic
InheritancePlatonic Inheritance Solid Inheritance ptolemy.geom3D.core.Logic
Subclasses Dodecahedron, Icosahedron, Octahedron



Public Properties
 PropertyDefined By
 Inheritedabout : SpatialVector
Solid
 Inheritedangle : Number
Solid
 Inheritedcolors : Array
Solid
 InheriteddirectTransformation : Transformation
Solid
 Inheritedfaces : Array
[read-only]
Solid
 InheritedoutlineColor : uint
Solid
 InheritedoutlineWidth : int
Solid
  padding : Number
Platonic
 InheritedperspectiveDepth : Number
[read-only]
Solid
  sideLength : int
Platonic
Protected Properties
 PropertyDefined By
  _padding : Number
Platonic
  _sideLength : int
Platonic
Public Methods
 MethodDefined By
  
Platonic(sideLength:int, ... faces)
Platonic
 Inherited
[override]
Solid
 Inherited
draw(g:Graphics):void
Solid
Protected Methods
 MethodDefined By
 Inherited
[override]
Solid
  
update(arr:Array):Array
Platonic
Property Detail
_paddingproperty
protected var _padding:Number

_sideLengthproperty 
protected var _sideLength:int

paddingproperty 
padding:Number


Implementation
    public function get padding():Number
    public function set padding(value:Number):void
sideLengthproperty 
sideLength:int


Implementation
    public function get sideLength():int
    public function set sideLength(value:int):void
Constructor Detail
Platonic()Constructor
public function Platonic(sideLength:int, ... faces)



Parameters
sideLength:int
 
... faces
Method Detail
update()method
protected function update(arr:Array):Array

Parameters

arr:Array

Returns
Array