public class RelativeLinkFigure extends diva.canvas.AbstractFigure
| 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 diva.canvas.FiguregetShape in class diva.canvas.AbstractFigurepublic void paint(java.awt.Graphics2D g)
paint in interface diva.canvas.VisibleComponentpaint in class diva.canvas.AbstractFigureg - The graphics context used for painting.public void transform(java.awt.geom.AffineTransform at)
transform in interface diva.canvas.Figuretransform in class diva.canvas.AbstractFigureat - an affine transformation