Class EllipseNodeShape
java.lang.Object
org.graffiti.plugins.views.defaults.AbstractArrowShape
org.graffiti.plugins.views.defaults.RectangularNodeShape
org.graffiti.plugins.views.defaults.CircularNodeShape
org.graffiti.plugins.views.defaults.EllipseNodeShape
- All Implemented Interfaces:
Shape,ArrowShape,GraffitiShape,GraphElementShape,NodeShape
- Direct Known Subclasses:
DoubleEllipseShape,MultiEllipseShape
public class EllipseNodeShape extends CircularNodeShape
Concrete class representing an ellipse.
-
Constructor Summary
Constructors Constructor Description EllipseNodeShape() -
Method Summary
Modifier and Type Method Description Point2DgetIntersection(Line2D line)Calculates the intersection between this ellipse and a line.intshapeHeightCorrection()intshapeWidthCorrection()Methods inherited from class org.graffiti.plugins.views.defaults.CircularNodeShape
buildShape, contains, contains, getIntersectionsWithCircle, getIntersectionWithCircle, getPathIterator, getPathIteratorMethods inherited from class org.graffiti.plugins.views.defaults.RectangularNodeShape
contains, contains, getBounds, getBounds2D, getRealBounds2D, getXexcess, getYexcess, intersects, intersects, setCoordinateSystemMethods inherited from class org.graffiti.plugins.views.defaults.AbstractArrowShape
addThickness, affix, getAnchor, updateSize
-
Constructor Details
-
EllipseNodeShape
public EllipseNodeShape()
-
-
Method Details
-
getIntersection
Calculates the intersection between this ellipse and a line.- Specified by:
getIntersectionin interfaceNodeShape- Specified by:
getIntersectionin classCircularNodeShape- Parameters:
line-- Returns:
- DOCUMENT ME!
- Throws:
RuntimeException- DOCUMENT ME!
-
shapeHeightCorrection
public int shapeHeightCorrection() -
shapeWidthCorrection
public int shapeWidthCorrection()
-