MCPcopy
hub / github.com/nhn/tui.image-editor / getCanvas

Method getCanvas

apps/image-editor/src/js/interface/component.js:54–56  ·  view source on GitHub ↗

* Get fabric.Canvas instance * @returns {fabric.Canvas}

()

Source from the content-addressed store, hash-verified

52 * @returns {fabric.Canvas}
53 */
54 getCanvas() {
55 return this.graphics.getCanvas();
56 }
57
58 /**
59 * Get canvasImage (fabric.Image instance)

Callers 15

startMethod · 0.45
setBrushMethod · 0.45
endMethod · 0.45
_onFabricMouseDownMethod · 0.45
_onFabricMouseMoveMethod · 0.45
_onFabricMouseUpMethod · 0.45
constructorMethod · 0.45
startZoomInModeMethod · 0.45
endZoomInModeMethod · 0.45
startHandModeMethod · 0.45
endHandModeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected