W3C home > Mailing lists > Public > www-style@w3.org > October 2011

Re: [css3-images] asymmetric radial gradients

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 31 Oct 2011 11:13:25 -0700
Message-ID: <4EAEE545.4050206@inkedblade.net>
To: www-style@w3.org
On 10/30/2011 11:27 PM, Brian Manthos wrote:
> http://msdn.microsoft.com/en-us/library/dd368149(VS.85).aspx
> In D2D, this is addressed with the gradientOriginOffset parameter:
> "In the brush's coordinate space, the offset of the gradient origin relative to the gradient ellipse's center."
>
> To support it, it would be straighforward to expand the syntax from (one proposal):
> radial-gradient(<size>  [at<position>]?,<color-stop>[,<color-stop>]+)
>
> to (another proposal):
> radial-gradient(<size>  [at<position>  [offset<length>{2}]? ]?,<color-stop>[,<color-stop>]+)

That seems reasonable... but what happens if the offset places the
gradient center outside the 100% ellipse?

~fantasai
Received on Monday, 31 October 2011 18:14:04 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:45 GMT