lt.monarch.chart.chart2D.engine
Class Pyramid2D

java.lang.Object
  extended by lt.monarch.chart.chart2D.engine.Shape2D
      extended by lt.monarch.chart.chart2D.engine.Pyramid2D
All Implemented Interfaces:
java.io.Serializable

public class Pyramid2D
extends Shape2D

2D pyramid shape class, which renders the triangle polygon into the given coordinates and transforms it according to transformational matrix.

See Also:
Serialized Form

Nested Class Summary
Modifier and Type Class and Description
 
Nested classes/interfaces inherited from class lt.monarch.chart.chart2D.engine.Shape2D
Shape2D.Elipse, Shape2D.Line, Shape2D.Polygon, Shape2D.ProjectableShape, Shape2D.Rectangle
 
Field Summary
Modifier and Type Field and Description
 
Fields inherited from class lt.monarch.chart.chart2D.engine.Shape2D
bounds, shapeList
 
Constructor Summary
Constructor and Description
Pyramid2D()
          Pyramid shape constructor
 
Method Summary
Modifier and Type Method and Description
protected  void initShape()
          Initializes the shape and adds its points to the array
 
Methods inherited from class lt.monarch.chart.chart2D.engine.Shape2D
draw, draw, getBounds, getShape, projectPoint, projectPointInplace, projectShape, setBounds, transform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pyramid2D

public Pyramid2D()
Pyramid shape constructor

Method Detail

initShape

protected void initShape()
Description copied from class: Shape2D
Initializes the shape and adds its points to the array

Specified by:
initShape in class Shape2D