()
| 115 | } |
| 116 | |
| 117 | setStrokeParams() { |
| 118 | if (this.strokeOn) { |
| 119 | const st = 1; |
| 120 | this.input.style['text-shadow'] = ` |
| 121 | -${st}px -${st}px 1px ${this.strokeColor},${st}px -${st}px 1px ${this.strokeColor}, |
| 122 | -${st}px ${st}px 1px ${this.strokeColor},${st}px ${st}px 1px ${this.strokeColor}, |
| 123 | ${st}px ${st}px ${Math.log(this.fontSize) * this.main.params.shadowScale}px black`; |
| 124 | } else { |
| 125 | this.input.style['text-shadow'] = 'none'; |
| 126 | } |
| 127 | } |
| 128 | |
| 129 | setFontColor(color) { |
| 130 | this.color = color; |
no outgoing calls
no test coverage detected