* Get a CanvasForm for drawing on the internal canvas if this Img is editable
()
| 332 | * Get a CanvasForm for drawing on the internal canvas if this Img is editable |
| 333 | */ |
| 334 | getForm():CanvasForm { |
| 335 | if (!this._editable) { |
| 336 | console.error( "Cannot get a CanvasForm because this Img is not editable" ); |
| 337 | } |
| 338 | return this._ctx ? new CanvasForm( this._ctx ) : undefined; |
| 339 | } |
| 340 | |
| 341 | /** |
| 342 | * Get current image source. If editable, this will return the canvas, otherwise it will return the original image. |
no outgoing calls
no test coverage detected