Example #1
0
 constructor (center: Coords2d, radius: number) {
   super();
   this.center = center.copy();
   this.radius = radius;
 }
Example #2
0
 constructor (start: Coords2d, end: Coords2d) {
   super();
   this.start = start.copy();
   this.end = end.copy();
   this.lineDash = null;
 }
Example #3
0
 set apex (apex: Coords2d) {
   this._apex = apex.copy();
   this._needsRedraw = true;
 }