Constructor and Description |
---|
OutlineCaptioner(Captioner base,
Color color)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
drawCaption(Caption label,
Graphics g)
Draws a caption such that the left end of the text baseline is at
the origin of the supplied graphics context.
|
boolean |
equals(Object o) |
Rectangle |
getCaptionBounds(Caption label)
Returns a bounding box for the caption drawn by a corresponding call
to
Captioner.drawCaption(uk.ac.starlink.ttools.plot2.Caption, java.awt.Graphics) . |
int |
getPad()
Returns a suitable padding value for separating captions from
the reference position or other graphical elements.
|
int |
hashCode() |
public Rectangle getCaptionBounds(Caption label)
Captioner
Captioner.drawCaption(uk.ac.starlink.ttools.plot2.Caption, java.awt.Graphics)
.getCaptionBounds
in interface Captioner
label
- caption textpublic void drawCaption(Caption label, Graphics g)
Captioner
drawCaption
in interface Captioner
label
- caption textg
- graphics contextpublic int getPad()
Captioner
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.