mirror of
https://github.com/konvajs/konva.git
synced 2025-12-21 19:27:08 +08:00
added shadow support. changed fillStroke method to shadowFillStroke
This commit is contained in:
@@ -643,9 +643,10 @@ Kinetic.Node.prototype = {
|
||||
* @param {Number} x
|
||||
* @param {Number} y
|
||||
*/
|
||||
setCenterOffset: function(x, y) {
|
||||
this.attrs.centerOffset.x = x;
|
||||
this.attrs.centerOffset.y = y;
|
||||
setCenterOffset: function() {
|
||||
var pos = Kinetic.GlobalObject._getPoint(arguments);
|
||||
this.attrs.centerOffset.x = pos.x;
|
||||
this.attrs.centerOffset.y = pos.y;
|
||||
},
|
||||
/**
|
||||
* get center offset
|
||||
|
||||
Reference in New Issue
Block a user