public class SolidLineStyleLibrary extends 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.
|
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,
Object... flags)
Add the formatting statements to the given CSS class.
|
private ColorLibrary colors
public SolidLineStyleLibrary(StyleLibrary style)
style
- Style library to use.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