Package elki.visualization.style.lines
Interface LineStyleLibrary
-
- All Known Implementing Classes:
DashedLineStyleLibrary,SolidLineStyleLibrary
public interface LineStyleLibraryInterface to obtain CSS classes for plot lines.metais a set of Objects, usually constants that may or may not be used by theLineStyleLibraryto generate variants of the style. Predefined meta flags that are usually supported are:FLAG_STRONG- Request a "stronger" version of the same style
FLAG_WEAK- Request a "weaker" version of the same style
FLAG_INTERPOLATED- Request an "interpolated" version of the same style (e.g., lighter or dashed)
- Since:
- 0.3
- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringFLAG_INTERPOLATEDMeta flag to request an 'interpolated' version of the stylestatic java.lang.StringFLAG_STRONGMeta flag to request a 'stronger' version of the stylestatic java.lang.StringFLAG_WEAKMeta flag to request a 'weaker' version of the style
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidformatCSSClass(CSSClass cls, int style, double width, java.lang.Object... meta)Add the formatting statements to the given CSS class.
-
-
-
Field Detail
-
FLAG_STRONG
static final java.lang.String FLAG_STRONG
Meta flag to request a 'stronger' version of the style- See Also:
- Constant Field Values
-
FLAG_WEAK
static final java.lang.String FLAG_WEAK
Meta flag to request a 'weaker' version of the style- See Also:
- Constant Field Values
-
FLAG_INTERPOLATED
static final java.lang.String FLAG_INTERPOLATED
Meta flag to request an 'interpolated' version of the style- See Also:
- Constant Field Values
-
-
Method Detail
-
formatCSSClass
void formatCSSClass(CSSClass cls, int style, double width, java.lang.Object... meta)
Add the formatting statements to the given CSS class. Note: this can overwrite some existing properties of the CSS class.- Parameters:
cls- CSS class to modifystyle- style numberwidth- line widthmeta- meta objects to request line variants
-
-