public class RelativeLinkFigure extends AbstractFigure
| Red (msp) |
| Red (msp) |
| Constructor and Description |
|---|
RelativeLinkFigure(RelativeLocation location)
Construct a figure to draw the link of a relative locatable object.
|
| Modifier and Type | Method and Description |
|---|---|
java.awt.Shape |
getShape()
Get the outline shape of this figure.
|
void |
paint(java.awt.Graphics2D g)
Paint the figure.
|
void |
transform(java.awt.geom.AffineTransform at)
Set the given affine transformation for this figure.
|
contains, getBounds, getInteractor, getLayer, getOrigin, getParent, getToolTipText, getTransformContext, getUserObject, hit, intersects, isVisible, paint, repaint, repaint, setInteractor, setParent, setToolTipText, setUserObject, setVisible, translatepublic RelativeLinkFigure(RelativeLocation location)
location - The location of the relative locatable object.public java.awt.Shape getShape()
getShape in interface FiguregetShape in class AbstractFigurepublic void paint(java.awt.Graphics2D g)
paint in interface VisibleComponentpaint in class AbstractFigureg - The graphics context used for painting.public void transform(java.awt.geom.AffineTransform at)
transform in interface Figuretransform in class AbstractFigureat - an affine transformation