nulldesign/nd2d — Issue #30: feature: custom shape in hitTest (processMouseEvents) 
Author: komelgman
Created: 2011-11-12 17:31:21+00:00
State: open

Add additional mouse capturing strategy. Current implementation not cover all variants of usage (example: custom shape button).

As a workaround, you can use:
1) Alpha channel of texture in Sprite2D class and some custom treshold (not a perfect solution)
2) Add shapeMask field (of type BitmapData) to Node2D and use binary bitmap for handling custom shapes (I vote for this solution)