mirror of
https://github.com/konvajs/konva.git
synced 2026-03-03 16:58:33 +08:00
getPointerPosition return object
This commit is contained in:
@@ -157,6 +157,7 @@
|
|||||||
* get pointer position which can be a touch position or mouse position
|
* get pointer position which can be a touch position or mouse position
|
||||||
* @method
|
* @method
|
||||||
* @memberof Kinetic.Stage.prototype
|
* @memberof Kinetic.Stage.prototype
|
||||||
|
* @returns {Object}
|
||||||
*/
|
*/
|
||||||
getPointerPosition: function() {
|
getPointerPosition: function() {
|
||||||
return this.pointerPos;
|
return this.pointerPos;
|
||||||
|
|||||||
Reference in New Issue
Block a user