public class DNAStyle extends java.lang.Object implements SymbolStyle
Constructor and Description |
---|
DNAStyle() |
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.
|
void |
setFillPaint(Symbol s,
java.awt.Paint paint) |
void |
setOutlinePaint(Symbol s,
java.awt.Paint paint) |
public java.awt.Paint outlinePaint(Symbol s) throws IllegalSymbolException
SymbolStyle
outlinePaint
in interface SymbolStyle
s
- the symbol to outlineIllegalSymbolException
- if this SymbolStyle can not handle the
symbolpublic java.awt.Paint fillPaint(Symbol s) throws IllegalSymbolException
SymbolStyle
fillPaint
in interface SymbolStyle
s
- the symbol to fillIllegalSymbolException
- if this SymbolStyle can not handle the
symbolpublic void setOutlinePaint(Symbol s, java.awt.Paint paint) throws IllegalSymbolException
IllegalSymbolException
public void setFillPaint(Symbol s, java.awt.Paint paint) throws IllegalSymbolException
IllegalSymbolException