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, translate
public RelativeLinkFigure(RelativeLocation location)
location
- The location of the relative locatable object.public java.awt.Shape getShape()
getShape
in interface Figure
getShape
in class AbstractFigure
public void paint(java.awt.Graphics2D g)
paint
in interface VisibleComponent
paint
in class AbstractFigure
g
- The graphics context used for painting.public void transform(java.awt.geom.AffineTransform at)
transform
in interface Figure
transform
in class AbstractFigure
at
- an affine transformation