mirror of
https://github.com/konvajs/konva.git
synced 2025-09-23 04:36:47 +08:00
factor methods now also build overloaded attr functions. i.e. instead of setScaleX(5), you can use scaleX(5). Instead of getScaleX(), you can use scaleX()
This commit is contained in:
@@ -174,8 +174,9 @@
|
||||
___init: function(config) {
|
||||
Kinetic.Shape.call(this, config);
|
||||
this.className = 'Tag';
|
||||
this.setDrawFunc(this._drawFunc);
|
||||
},
|
||||
drawFunc: function(context) {
|
||||
_drawFunc: function(context) {
|
||||
var width = this.getWidth(),
|
||||
height = this.getHeight(),
|
||||
pointerDirection = this.getPointerDirection(),
|
||||
|
Reference in New Issue
Block a user