W3C home > Mailing lists > Public > www-svg@w3.org > December 2000

Re: alpha transparency

From: Jon Ferraiolo <jferraio@Adobe.COM>
Date: Tue, 05 Dec 2000 06:32:48 -0800
Message-Id: <4.2.2.20001205062926.03156300@mailsj.corp.adobe.com>
To: Stephane Conversy <conversy@emn.fr>
Cc: www-svg@w3.org
The fill on an object is rendered first, factoring in 'fill-opacity'. Then 
the stroke is rendered, factoring in 'stroke-opacity'. (Note that the fill 
intersects half of the stroke since the stroke is centered on the outline 
of the object. Thus, if 'stroke-opacity' is .5, then some of the fill will 
be visible through the stroke.)

If 'opacity' is not 1, then the effect is as if object's fill and stroke 
are rendered into an offscreen buffer and then composited against the 
background using the opacity value to indicate how much of the object gets 
rendered versus how much of the background shines through.

Jon Ferraiolo
SVG Editor
jferraio@adobe.com

At 10:00 AM 12/5/00 +0100, Stephane Conversy wrote:
>Hello.
>
>What happens when 'opacity', 'fill-opacity' and 'stroke-opacity'
>are all set for a particular simple shape ?
>
>are they composed ?
>
>     stef
>
>--
>stephane conversy
>ecole des mines de nantes
>
Received on Tuesday, 5 December 2000 09:38:03 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:19 GMT