public class DashedLineStyleLibrary extends java.lang.Object implements LineStyleLibrary
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.Modifier and Type | Field and Description |
---|---|
private ColorLibrary |
colors
The style library we use for colors
|
private int |
dashnum |
private double[][] |
dashpatterns
Dash patterns to regularly use
|
private java.lang.String |
dotcolor
Color of "uncolored" dots
|
private java.lang.String |
greycolor
Color of "greyed out" dots
|
private double[] |
solidreplacement
Replacement for the solid pattern in 'interpolated' mode
|
FLAG_INTERPOLATED, FLAG_STRONG, FLAG_WEAK
Constructor and Description |
---|
DashedLineStyleLibrary(StyleLibrary style)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
formatCSSClass(CSSClass cls,
int style,
double width,
java.lang.Object... flags)
Add the formatting statements to the given CSS class.
|
private ColorLibrary colors
private double[][] dashpatterns
private double[] solidreplacement
private int dashnum
private java.lang.String dotcolor
private java.lang.String greycolor
public DashedLineStyleLibrary(StyleLibrary style)
style
- Style librarypublic void formatCSSClass(CSSClass cls, int style, double width, java.lang.Object... flags)
LineStyleLibrary
formatCSSClass
in interface LineStyleLibrary
cls
- CSS class to modifystyle
- style numberwidth
- line widthflags
- meta objects to request line variantsCopyright © 2019 ELKI Development Team. License information.