ZVON
>
References
>
Zvon Example Repository
Intro
/
Search
/
ZVON
Example repository:
index
|
categories
|
search
All
>
SVG
>
Shapes
> Drawing a filled rectangle
The rectangle can be displayed using the
rect
element. Fill color can be set using the
fill
attribute.
Output
SVG version
Source
<
svg
width
="100"
height
="100" xmlns="
http://www.w3.org/2000/svg
" >
<
rect
x
="10"
y
="10"
width
="80"
height
="40"
fill
="blue"/>
</
svg
>