Open conghai opened 10 years ago
I use kinetic js version 5.1.0
this.sprite = new Kinetic.Sprite({ x: x, y: y, image: this.source, animation: 'idle', animations: this.anims, frameRate: this.frame_time['idle'], frameIndex: 0, draggable: drag, stroke: '#000000', strokeWidth: 4, strokeEnabled: true });
Sprite animations can run but not has Stroke.
If you are using cache (ie. mySprite.cache()), stroke won't be displayed.
I use kinetic js version 5.1.0
this.sprite = new Kinetic.Sprite({ x: x, y: y, image: this.source, animation: 'idle', animations: this.anims, frameRate: this.frame_time['idle'], frameIndex: 0, draggable: drag, stroke: '#000000', strokeWidth: 4, strokeEnabled: true });
Sprite animations can run but not has Stroke.