1

I'm using kinetic js to add some images and shapes to the layer in canvas. But I have a problem in removing a specific element from the layer.

4

1 回答 1

2

You just have to do the following with the added element

addedElement.remove();
layer.draw(); //this will draw the updated layer
于 2013-06-02T16:28:43.050 回答