|
@@ -9,6 +9,7 @@ export default class Circle extends Geometry {
|
|
super();
|
|
super();
|
|
this.radius = 5;
|
|
this.radius = 5;
|
|
this.center = null;
|
|
this.center = null;
|
|
|
|
+ this.color = "blue";
|
|
this.geoType = VectorType.Circle;
|
|
this.geoType = VectorType.Circle;
|
|
this.setId(vectorId);
|
|
this.setId(vectorId);
|
|
|
|
|
|
@@ -27,4 +28,8 @@ export default class Circle extends Geometry {
|
|
this.center.y = center.y;
|
|
this.center.y = center.y;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ setColor(value) {
|
|
|
|
+ this.color = value;
|
|
|
|
+ }
|
|
}
|
|
}
|