2424 */
2525public class LineOptions extends Options <LineOptions , DefaultAnimation >
2626{
27+ protected Object borderCapStyle ;
28+ protected Number [] borderDash ;
29+ protected Number borderDashOffset ;
30+ protected Object borderJoinStyle ;
31+ protected Boolean capBezierPoints ;
32+ protected String cubicInterpolationMode ;
2733 protected Number tension ;
2834 protected Object stepped ;
29-
30- /**
31- * @see #setShowLine(Boolean)
32- */
3335 protected Boolean showLine ;
34- /**
35- * @see #setSpanGaps(Boolean)
36- */
37- protected Boolean spanGaps ;
36+ protected Object fill ;
37+ protected Object spanGaps ;
3838 protected LineElements elements ;
3939
40+ public Object getBorderCapStyle ()
41+ {
42+ return this .borderCapStyle ;
43+ }
44+
45+ public LineOptions setBorderCapStyle (final Object borderCapStyle )
46+ {
47+ this .borderCapStyle = borderCapStyle ;
48+ return this ;
49+ }
50+
51+ public Number [] getBorderDash ()
52+ {
53+ return this .borderDash ;
54+ }
55+
56+ public LineOptions setBorderDash (final Number [] borderDash )
57+ {
58+ this .borderDash = borderDash ;
59+ return this ;
60+ }
61+
62+ public Number getBorderDashOffset ()
63+ {
64+ return this .borderDashOffset ;
65+ }
66+
67+ public LineOptions setBorderDashOffset (final Number borderDashOffset )
68+ {
69+ this .borderDashOffset = borderDashOffset ;
70+ return this ;
71+ }
72+
73+ public Object getBorderJoinStyle ()
74+ {
75+ return this .borderJoinStyle ;
76+ }
77+
78+ public LineOptions setBorderJoinStyle (final Object borderJoinStyle )
79+ {
80+ this .borderJoinStyle = borderJoinStyle ;
81+ return this ;
82+ }
83+
84+ public Boolean getCapBezierPoints ()
85+ {
86+ return this .capBezierPoints ;
87+ }
88+
89+ public LineOptions setCapBezierPoints (final Boolean capBezierPoints )
90+ {
91+ this .capBezierPoints = capBezierPoints ;
92+ return this ;
93+ }
94+
95+ public String getCubicInterpolationMode ()
96+ {
97+ return this .cubicInterpolationMode ;
98+ }
99+
100+ public LineOptions setCubicInterpolationMode (final String cubicInterpolationMode )
101+ {
102+ this .cubicInterpolationMode = cubicInterpolationMode ;
103+ return this ;
104+ }
105+
40106 public Number getTension ()
41107 {
42108 return this .tension ;
@@ -59,64 +125,44 @@ public LineOptions setStepped(final Object stepped)
59125 return this ;
60126 }
61127
62- /**
63- * @see #setShowLine(Boolean)
64- */
65128 public Boolean getShowLine ()
66129 {
67130 return this .showLine ;
68131 }
69132
70- /**
71- * <p>
72- * If false, the lines between points are not drawn
73- * </p>
74- *
75- * <p>
76- * Default {@code true}
77- * </p>
78- */
79133 public LineOptions setShowLine (final Boolean showLine )
80134 {
81135 this .showLine = showLine ;
82136 return this ;
83137 }
84138
85- /**
86- * @see #setSpanGaps(Boolean)
87- */
88- public Boolean getSpanGaps ()
139+ public Object getFill ()
140+ {
141+ return this .fill ;
142+ }
143+
144+ public LineOptions setFill (final Object fill )
145+ {
146+ this .fill = fill ;
147+ return this ;
148+ }
149+
150+ public Object getSpanGaps ()
89151 {
90152 return this .spanGaps ;
91153 }
92154
93- /**
94- * <p>
95- * If true, NaN data does not break the line
96- * </p>
97- *
98- * <p>
99- * Default {@code false}
100- * </p>
101- */
102- public LineOptions setSpanGaps (final Boolean spanGaps )
155+ public LineOptions setSpanGaps (final Object spanGaps )
103156 {
104157 this .spanGaps = spanGaps ;
105158 return this ;
106159 }
107160
108- /**
109- * @return {@link LineElements} instance, or {@code null} if not set
110- */
111161 public LineElements getElements ()
112162 {
113163 return this .elements ;
114164 }
115165
116- /**
117- * @param elements an {@link LineElements} instance, or {@code null}
118- * @return this instance for method chaining
119- */
120166 public LineOptions setElements (final LineElements elements )
121167 {
122168 this .elements = elements ;
0 commit comments