|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.visualization.style.lines.DashedLineStyleLibrary
public class DashedLineStyleLibrary
Line library using various dashed and dotted line styles.
This library is particularly useful for black and white output.
LineStyleLibrary.FLAG_STRONG
will result in thicker lines.
LineStyleLibrary.FLAG_WEAK
will result in thinner and semi-transparent lines.
LineStyleLibrary.FLAG_INTERPOLATED
will result in shorter dashing patterns.
Field Summary | |
---|---|
private ColorLibrary |
colors
The style library we use for colors |
private int |
dashnum
|
private double[][] |
dashpatterns
Dash patterns to regularly use |
private double[] |
solidreplacement
Replacement for the solid pattern in 'interpolated' mode |
Fields inherited from interface de.lmu.ifi.dbs.elki.visualization.style.lines.LineStyleLibrary |
---|
FLAG_INTERPOLATED, FLAG_STRONG, FLAG_WEAK |
Constructor Summary | |
---|---|
DashedLineStyleLibrary(StyleLibrary style)
Constructor |
Method Summary | |
---|---|
void |
formatCSSClass(CSSClass cls,
int style,
double width,
Object... flags)
Add the formatting statements to the given CSS class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private ColorLibrary colors
private double[][] dashpatterns
private double[] solidreplacement
private int dashnum
Constructor Detail |
---|
public DashedLineStyleLibrary(StyleLibrary style)
style
- Style libraryMethod Detail |
---|
public void formatCSSClass(CSSClass cls, int style, double width, Object... flags)
LineStyleLibrary
formatCSSClass
in interface LineStyleLibrary
cls
- CSS class to modifystyle
- style numberwidth
- line widthflags
- meta objects to request line variants
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |