hit regions

All,

I've been looking at the hit regions API and have some questions.


1.       This set of APIs says that each region controls a set of pixels. Doesn't this imply that you won't be able to have intersecting regions? This seems like a big limitation.
Wouldn't it be better to just keep the paths?
Another issue would be with removing hit regions that previously overlapped others. How would you restore the previous pixels?


2.       Are hit regions subjected to the current clipping region? The newly introduced 'current default path' doesn't say so but it seems like it should.


3.       There is nothing specific to canvas about hit regions. Would it make sense to extend them later to other content such as images?

Rik

Received on Sunday, 19 August 2012 04:22:04 UTC