KineticJS icon indicating copy to clipboard operation
KineticJS copied to clipboard

stroke for Sprite not working

Open conghai opened this issue 11 years ago • 1 comments

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.

conghai avatar May 27 '14 14:05 conghai

If you are using cache (ie. mySprite.cache()), stroke won't be displayed.

emnkoksal avatar Jun 21 '14 23:06 emnkoksal