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