Package com.bc.ceres.swing.figure
Interface ShapeFigure
- All Superinterfaces:
Cloneable
,Figure
,Restorable
- All Known Subinterfaces:
Handle
- All Known Implementing Classes:
AbstractHandle
,AbstractShapeFigure
,DefaultShapeFigure
,PointHandle
,RotateHandle
,ScaleHandle
,VertexHandle
A figure which uses an arbitrary geometry represented by a Java AWT shape.
- Since:
- Ceres 0.10
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.bc.ceres.swing.figure.Figure
Figure.Rank
-
Method Summary
Methods inherited from interface com.bc.ceres.swing.figure.Figure
addChangeListener, addFigure, addFigure, addFigures, addSegment, clone, contains, createHandles, dispose, draw, getBounds, getChangeListeners, getEffectiveStyle, getFigure, getFigure, getFigureCount, getFigureIndex, getFigures, getFigures, getMaxSelectionStage, getNormalStyle, getRank, getSegment, getSelectedStyle, isCloseTo, isCollection, isSelectable, isSelected, move, removeAllFigures, removeChangeListener, removeFigure, removeFigures, removeSegment, rotate, scale, setNormalStyle, setSegment, setSelected, setSelectedStyle
Methods inherited from interface com.bc.ceres.swing.undo.Restorable
createMemento, setMemento
-
Method Details
-
getShape
Shape getShape()Gets the shape (geometry) for this figure.- Returns:
- The shape in model coordinates.
-
setShape
Sets the shape (geometry) for this figure.- Parameters:
shape
- The shape in model coordinates.
-