Thanks !



________________________________
De : Frank Bruder <[email protected]>
À : [email protected]
Envoyé le : Samedi, 13 Décembre 2008, 4h32mn 32s
Objet : [svg-developers] Re: Stroke width inside the shape


You could do this with a clip path.
Sample code snippet:

<defs>
<clipPath id="cp_poly1" >
<use xlink:href=" #poly1"/>
</clipPath>
</defs>
<polygon id="poly1" points="..." clip-path="url( #cp_poly1) "
stroke="blue" stroke-width= "5px"/>

The stroke is drawn centered around the outline, but the outer part is
clipped by using the same shape as a clip path.

--- In svg-developers@ yahoogroups. com, "jgfa92004" <juliegautier@ ...>
wrote:
>
> Hi,
> Is there a way to set the stroke width of a polyline inside the shape 
> instead of half inside and half outside ?
> Thanks.
> Julie
>

 


      

[Non-text portions of this message have been removed]


------------------------------------

-----
To unsubscribe send a message to: [email protected]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
----Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[email protected] 
    mailto:[email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to