2
2
3
3
// doc imports
4
4
/* eslint-disable no-unused-vars */
5
+ import Konva from 'konva' ;
5
6
import { ViewController } from '../app/viewController' ;
6
7
import { Style } from '../gui/style' ;
8
+ import { Point2D } from '../math/point' ;
7
9
/* eslint-enable no-unused-vars */
8
10
9
11
/**
@@ -41,9 +43,9 @@ export class Select {
41
43
/**
42
44
* Create an arrow shape to be displayed.
43
45
*
44
- * @param {Point2D[] } points The points from which to extract the line.
45
- * @param {Style } style The drawing style.
46
- * @param {ViewController } viewController The associated view controller.
46
+ * @param {Point2D[] } _points The points from which to extract the line.
47
+ * @param {Style } _style The drawing style.
48
+ * @param {ViewController } _viewController The associated view controller.
47
49
* @returns {Konva.Group } The Konva group.
48
50
*/
49
51
create ( _points , _style , _viewController ) {
@@ -56,8 +58,8 @@ export class Select {
56
58
/**
57
59
* Update an arrow shape.
58
60
*
59
- * @param {Konva.Ellipse } anchor The active anchor.
60
- * @param {Style } style The app style.
61
+ * @param {Konva.Ellipse } _anchor The active anchor.
62
+ * @param {Style } _style The app style.
61
63
* @param {ViewController } _viewController The associated view controller.
62
64
*/
63
65
update ( _anchor , _style , _viewController ) {
0 commit comments