org.graffiti.plugins.views.defaults
Class EllipseNodeShape

java.lang.Object
  extended by org.graffiti.plugins.views.defaults.AbstractArrowShape
      extended by org.graffiti.plugins.views.defaults.RectangularNodeShape
          extended by org.graffiti.plugins.views.defaults.CircularNodeShape
              extended by org.graffiti.plugins.views.defaults.EllipseNodeShape
All Implemented Interfaces:
Shape, ArrowShape, GraffitiShape, GraphElementShape, NodeShape

public class EllipseNodeShape
extends CircularNodeShape

Concrete class representing an ellipse.


Constructor Summary
EllipseNodeShape()
           
 
Method Summary
 Point2D getIntersection(Line2D line)
          Calculates the intersection between this ellipse and a line.
 
Methods inherited from class org.graffiti.plugins.views.defaults.CircularNodeShape
buildShape, contains, contains, getPathIterator, getPathIterator
 
Methods inherited from class org.graffiti.plugins.views.defaults.RectangularNodeShape
contains, contains, getBounds, getBounds2D, getRealBounds2D, intersects, intersects
 
Methods inherited from class org.graffiti.plugins.views.defaults.AbstractArrowShape
affix, getAnchor
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EllipseNodeShape

public EllipseNodeShape()
Method Detail

getIntersection

public Point2D getIntersection(Line2D line)
Calculates the intersection between this ellipse and a line.

Specified by:
getIntersection in interface NodeShape
Specified by:
getIntersection in class CircularNodeShape
Parameters:
line -
Returns:
DOCUMENT ME!
Throws:
RuntimeException - DOCUMENT ME!


Generated at 2012-05-30 11:01:25 PM CEST