IMHO, defining a color as a special gradient is wrong. A color is one of the materials used to build a gradient, while others can be patterns and textures/tiles. You should be able to build a gradient with any type of fill element (or stroke if it's a stroke gradient). So a color should be a stop attribute, not a single stop gradient.

Chris Lilley a écrit :

On Tuesday, May 20, 2008, 4:26:50 PM, Olivier wrote:

OB> OB> OB> SVG Tiny 1.2
OB> <http://www.w3.org/TR/SVGMobile12/painting.html#SolidColorElement>
OB> gives an opacity argument to the solidColor element. What is the
OB> concrete signification of color opacity? An object can have an
OB> opacity level but giving that attribute to a color isn't it mixing concepts?

Any object can have a global opacity, yes.

It can also have a fill opacity, stroke opacity, and so on.

Consider an object which has a gradient fill; one stop is yellow at
full stop-opacity and one is red at 0.2 stop-opacity. (You could also add stroke
opacity, fill-opacity, or even global opacity, to the same object).

Now consider a gradient where both stops have the same color and same
opacity. (This is what people used to do to make a paaint server,
before we had a solidColor element). So its essentially a single stop
gradient; and it has a solid-opacity property analagous to the
stop-opacity.



_______________________________________________
CREATE mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/create

Reply via email to