public class TextBlock extends Object implements BlockPainter
Constructor and Description |
---|
TextBlock() |
Modifier and Type | Method and Description |
---|---|
Font |
getLogoFont()
Retrieve the current font.
|
void |
paintBlock(LogoContext ctxt,
Rectangle2D block,
AtomicSymbol sym) |
void |
setLogoFont(Font logoFont)
Set the current logo font.
|
public TextBlock()
public Font getLogoFont()
public void setLogoFont(Font logoFont)
logoFont
- the new Font to render the logo letters inpublic void paintBlock(LogoContext ctxt, Rectangle2D block, AtomicSymbol sym)
paintBlock
in interface BlockPainter
Copyright © 2014 BioJava. All rights reserved.