JHotDraw 6.0b1

org.jhotdraw.contrib.html
Interface GeometricFigure

All Superinterfaces:
java.lang.Cloneable, Figure, java.io.Serializable, Storable
All Known Implementing Classes:
DiamondFigureGeometricAdapter, EllipseFigureGeometricAdapter, PolygonFigureGeometricAdapter, RoundRectangleGeometricAdapter, TriangleFigureGeometricAdapter

public interface GeometricFigure
extends Figure

GeometricFigure defines required of figures that can be used as shape providers for other figures. See HTMLTextArea for an example.


Method Summary
 java.awt.Shape getShape()
          Returns a shape with the figures area outline
 
Methods inherited from interface org.jhotdraw.framework.Figure
addDependendFigure, addFigureChangeListener, addToContainer, basicDisplayBox, canConnect, center, changed, clone, connectedTextLocator, connectionInsets, connectorAt, connectorVisibility, containsPoint, decompose, displayBox, displayBox, displayBox, draw, figures, findFigureInside, getAttribute, getAttribute, getDecoratedFigure, getDependendFigures, getTextHolder, getZValue, handles, includes, invalidate, isEmpty, listener, moveBy, release, removeDependendFigure, removeFigureChangeListener, removeFromContainer, setAttribute, setAttribute, setZValue, size, visit, willChange
 
Methods inherited from interface org.jhotdraw.util.Storable
read, write
 

Method Detail

getShape

java.awt.Shape getShape()
Returns a shape with the figures area outline

Returns:
The shape

JHotDraw 6.0b1