ericdrowell / KineticJS

KineticJS is an HTML5 Canvas JavaScript framework that extends the 2d context by enabling canvas interactivity for desktop and mobile applications.
http://www.kineticjs.com
3.98k stars 752 forks source link

Is there a way to getImageData of just the top kinetic group layered on another group on a canvas? #1019

Open bethanyhub opened 10 years ago

bethanyhub commented 10 years ago

Hi all,

I am looking for a way to change the white background to transparent for individual groups on a layer. I can do when there's only one group on the canvas, but I need to be able to do it if the groups are overlapping like in the screenshot below. The group still needs to be draggable and resizeable when I put the new imagedata back. Any thoughts? Thanks!!

canvas