public interface SymbolStyle
Given a symbol, this allows you to get the color to outline or fill the glyphs for rendering the symbol. This may be something as simple as colouring dots on a scatter-plot, or labeling a key, or it may be as complicated as sequence logos.
| Modifier and Type | Method and Description |
|---|---|
java.awt.Paint |
fillPaint(Symbol s)
Return the fill paint for a symbol.
|
java.awt.Paint |
outlinePaint(Symbol s)
Return the outline paint for a symbol.
|
java.awt.Paint outlinePaint(Symbol s) throws IllegalSymbolException
s - the symbol to outlineIllegalSymbolException - if this SymbolStyle can not handle the
symboljava.awt.Paint fillPaint(Symbol s) throws IllegalSymbolException
s - the symbol to fillIllegalSymbolException - if this SymbolStyle can not handle the
symbolCopyright © 2018 BioJava. All Rights Reserved.