public class SolidLineStyleLibrary 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 dashed lines.Modifier and Type | Field and Description |
---|---|
private ColorLibrary |
colors
Reference to the color library.
|
private java.lang.String |
dotcolor
Color of "uncolored" dots
|
private java.lang.String |
greycolor
Color of "greyed out" dots
|
FLAG_INTERPOLATED, FLAG_STRONG, FLAG_WEAK
Constructor and Description |
---|
SolidLineStyleLibrary(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 java.lang.String dotcolor
private java.lang.String greycolor
public SolidLineStyleLibrary(StyleLibrary style)
style
- Style library to use.public 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.