* make the font bold * @returns {Text} this object for chaining
()
| 196 | * @returns {Text} this object for chaining |
| 197 | */ |
| 198 | bold() { |
| 199 | if ( |
| 200 | !this.font.startsWith("bold ") && |
| 201 | !this.font.startsWith("italic bold ") |
| 202 | ) { |
| 203 | this.font = "bold " + this.font; |
| 204 | this.isDirty = true; |
| 205 | } |
| 206 | return this; |
| 207 | } |
| 208 | |
| 209 | /** |
| 210 | * make the font italic |
no outgoing calls
no test coverage detected