Re: [css3-images] asymmetric radial gradients

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 UTC