(ctx, text, position, lineHeight)
| 13580 | } |
| 13581 | |
| 13582 | function fillText(ctx, text, position, lineHeight) { |
| 13583 | var y = position.y + lineHeight / 2; |
| 13584 | var i, ilen; |
| 13585 | |
| 13586 | if (helpers$1.isArray(text)) { |
| 13587 | for (i = 0, ilen = text.length; i < ilen; ++i) { |
| 13588 | ctx.fillText(text[i], position.x, y); |
| 13589 | y += lineHeight; |
| 13590 | } |
| 13591 | } else { |
| 13592 | ctx.fillText(text, position.x, y); |
| 13593 | } |
| 13594 | } |
| 13595 | |
| 13596 | function adjustPointPositionForLabelHeight(angle, textSize, position) { |
| 13597 | if (angle === 90 || angle === 270) { |
no outgoing calls
no test coverage detected