(cfg)
| 162 | }; |
| 163 | |
| 164 | constructor(cfg) { |
| 165 | super(); |
| 166 | |
| 167 | this.options = undefined; |
| 168 | this.horizontal = undefined; |
| 169 | this.base = undefined; |
| 170 | this.width = undefined; |
| 171 | this.height = undefined; |
| 172 | this.inflateAmount = undefined; |
| 173 | |
| 174 | if (cfg) { |
| 175 | Object.assign(this, cfg); |
| 176 | } |
| 177 | } |
| 178 | |
| 179 | draw(ctx) { |
| 180 | const {inflateAmount, options: {borderColor, backgroundColor}} = this; |
nothing calls this directly
no outgoing calls
no test coverage detected