public class DNAStyle extends Object implements SymbolStyle
| Constructor and Description |
|---|
DNAStyle() |
| Modifier and Type | Method and Description |
|---|---|
Paint |
fillPaint(Symbol s)
Return the fill paint for a symbol.
|
Paint |
outlinePaint(Symbol s)
Return the outline paint for a symbol.
|
void |
setFillPaint(Symbol s,
Paint paint) |
void |
setOutlinePaint(Symbol s,
Paint paint) |
public DNAStyle()
public Paint outlinePaint(Symbol s) throws IllegalSymbolException
SymbolStyleoutlinePaint in interface SymbolStyles - the symbol to outlineIllegalSymbolException - if this SymbolStyle can not handle the
symbolpublic Paint fillPaint(Symbol s) throws IllegalSymbolException
SymbolStylefillPaint in interface SymbolStyles - the symbol to fillIllegalSymbolException - if this SymbolStyle can not handle the
symbolpublic void setOutlinePaint(Symbol s, Paint paint) throws IllegalSymbolException
IllegalSymbolExceptionpublic void setFillPaint(Symbol s, Paint paint) throws IllegalSymbolException
IllegalSymbolExceptionCopyright © 2020 BioJava. All rights reserved.