
public class DashedLineStyleLibrary 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 shorter dashing
 patterns.| Modifier and Type | Field and Description | 
|---|---|
| private ColorLibrary | colorsThe style library we use for colors | 
| private int | dashnum | 
| private double[][] | dashpatternsDash patterns to regularly use | 
| private String | dotcolorColor of "uncolored" dots | 
| private String | greycolorColor of "greyed out" dots | 
| private double[] | solidreplacementReplacement 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,
              Object... flags)Add the formatting statements to the given CSS class. | 
private ColorLibrary colors
private double[][] dashpatterns
private double[] solidreplacement
private int dashnum
private String dotcolor
private String greycolor
public DashedLineStyleLibrary(StyleLibrary style)
style - Style librarypublic void formatCSSClass(CSSClass cls, int style, double width, Object... flags)
LineStyleLibraryformatCSSClass in interface LineStyleLibrarycls - CSS class to modifystyle - style numberwidth - line widthflags - meta objects to request line variants