* Create a filled text * @param {string} text * @param {number} x * @param {number} y * @param {string} font * @param {string} textAlign * @param {string} fillStyle
(text, x, y, font, textAlign, fillStyle)
| 54 | * @param {string} fillStyle |
| 55 | */ |
| 56 | fillText(text, x, y, font, textAlign, fillStyle) { |
| 57 | this._ctx.beginPath(); |
| 58 | this._ctx.font = font; |
| 59 | this._ctx.textAlign = textAlign; |
| 60 | this._ctx.fillStyle = fillStyle; |
| 61 | this._ctx.fillText(text, x, y); |
| 62 | this._ctx.closePath(); |
| 63 | } |
| 64 | |
| 65 | /** |
| 66 | * Create a line |
no outgoing calls
no test coverage detected