99 */
1010public abstract class Shape <T extends BlendableEntity <?>> extends BlendableEntity <T > implements Mask {
1111
12- private int lineColor = 0x0 , lineWidth = 0 , fillColor = 0xffffff ;
13- private double fillAlpha = 1 , lineAlpha = 1 ;
12+ private int lineColor = 0x0 , fillColor = 0xffffff ;
13+ private double fillAlpha = 1 , lineAlpha = 1 , lineWidth = 0 ;
1414
1515 Shape () {
1616 super ();
@@ -150,7 +150,7 @@ public double getLineAlpha() {
150150 * the width for the border of this <code>Shape</code>.
151151 * @return this <code>Shape</code>.
152152 */
153- public T setLineWidth (int lineWidth ) {
153+ public T setLineWidth (double lineWidth ) {
154154 return setLineWidth (lineWidth , null );
155155 }
156156
@@ -166,7 +166,7 @@ public T setLineWidth(int lineWidth) {
166166 * the transition to animate between values of this property.
167167 * @return this <code>Shape</code>.
168168 */
169- public T setLineWidth (int lineWidth , Curve curve ) {
169+ public T setLineWidth (double lineWidth , Curve curve ) {
170170 this .lineWidth = lineWidth ;
171171 set ("lineWidth" , lineWidth , curve );
172172 return self ();
@@ -175,11 +175,11 @@ public T setLineWidth(int lineWidth, Curve curve) {
175175 /**
176176 * Returns the width of the border of this <code>Shape</code> in world units.
177177 * <p>
178- * Default is 1 .
178+ * Default is 0 .
179179 *
180180 * @return the width of the border of this <code>Shape</code>.
181181 */
182- public int getLineWidth () {
182+ public double getLineWidth () {
183183 return lineWidth ;
184184 }
185185
0 commit comments