[whatwg] [canvas] inner shadows

Tyler Larson talltyler at gmail.com
Fri Sep 21 07:40:42 PDT 2012


On Sep 20, 2012, at 6:49 PM, Ian Hickson <ian at hixie.ch> wrote:
> Can't you do this using clip() easily enough? Maybe I'm missing something 
> important here. Can you elaborate?


Here is an example of what I am talking about. 
http://i.imgur.com/Sy4xM.png
Clip would mask something but adding an inner shadow is different and pretty difficult to reproduce when you take into account complex shapes.

-Tyler




More information about the whatwg mailing list