- 'use strict';
-
- import ShapeBase from '../util/ShapeBase'
-
- class Dot extends ShapeBase {
- constructor(options, body, labelModule) {
- super(options, body, labelModule)
- }
-
- draw(ctx, x, y, selected, hover, values) {
- this._drawShape(ctx, 'circle', 2, x, y, selected, hover, values);
- }
-
- distanceToBorder(ctx, angle) { // eslint-disable-line no-unused-vars
- this.resize(ctx);
- return this.options.size;
- }
- }
-
- export default Dot;
|