(tooltipPoint, ctx, size, options)
| 689 | } |
| 690 | |
| 691 | drawCaret(tooltipPoint, ctx, size, options) { |
| 692 | const caretPosition = this.getCaretPosition(tooltipPoint, size, options); |
| 693 | |
| 694 | ctx.lineTo(caretPosition.x1, caretPosition.y1); |
| 695 | ctx.lineTo(caretPosition.x2, caretPosition.y2); |
| 696 | ctx.lineTo(caretPosition.x3, caretPosition.y3); |
| 697 | } |
| 698 | |
| 699 | getCaretPosition(tooltipPoint, size, options) { |
| 700 | const {xAlign, yAlign} = this; |
no test coverage detected