org.biojava.bio.gui.glyph
public class RectangleGlyph extends Object implements Glyph
Constructor and Description |
---|
RectangleGlyph() |
RectangleGlyph(Paint paint) |
RectangleGlyph(Rectangle2D.Float bounds) |
Modifier and Type | Method and Description |
---|---|
Rectangle2D.Float |
getBounds() |
Paint |
getPaint() |
void |
render(Graphics2D g) |
void |
setBounds(Rectangle2D.Float r) |
void |
setPaint(Paint forePaint)
Allows you to set the paint properties of this glyph, i.e., its color.
|
public RectangleGlyph()
public RectangleGlyph(Rectangle2D.Float bounds)
public RectangleGlyph(Paint paint)
public Rectangle2D.Float getBounds()
public void setBounds(Rectangle2D.Float r)
public void render(Graphics2D g)
public Paint getPaint()
public void setPaint(Paint forePaint)
forePaint
-