mirror of
https://github.com/konvajs/konva.git
synced 2026-03-03 16:58:33 +08:00
getCanvas, getHitCanvas and getContext is Layer methods right?
This commit is contained in:
@@ -130,7 +130,7 @@
|
||||
/**
|
||||
* get layer canvas
|
||||
* @method
|
||||
* @memberof Kinetic.Node.prototype
|
||||
* @memberof Kinetic.Layer.prototype
|
||||
*/
|
||||
getCanvas: function() {
|
||||
return this.canvas;
|
||||
@@ -138,7 +138,7 @@
|
||||
/**
|
||||
* get layer hit canvas
|
||||
* @method
|
||||
* @memberof Kinetic.Node.prototype
|
||||
* @memberof Kinetic.Layer.prototype
|
||||
*/
|
||||
getHitCanvas: function() {
|
||||
return this.hitCanvas;
|
||||
@@ -146,7 +146,7 @@
|
||||
/**
|
||||
* get layer canvas context
|
||||
* @method
|
||||
* @memberof Kinetic.Node.prototype
|
||||
* @memberof Kinetic.Layer.prototype
|
||||
*/
|
||||
getContext: function() {
|
||||
return this.getCanvas().getContext();
|
||||
|
||||
Reference in New Issue
Block a user