W3C home > Mailing lists > Public > whatwg@whatwg.org > September 2012

Re: [whatwg] [canvas] inner shadows

From: Tyler Larson <talltyler@gmail.com>
Date: Fri, 21 Sep 2012 10:40:42 -0400
Message-Id: <DCE06D4F-DAAD-4421-AAFC-2B4FC9559AEF@gmail.com>
To: Ian Hickson <ian@hixie.ch>
Cc: whatwg@whatwg.org

On Sep 20, 2012, at 6:49 PM, Ian Hickson <ian@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
Received on Friday, 21 September 2012 14:41:10 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:45 UTC