Element - rectangle

The rectangle element draws a rectangle.

Syntax:

Element

Attributes

Value

Notes for Element/Attribute/Value

rectangle

x1

integer

Default. 0.

y1

integer

Default. 0.

width

integer

Default. 0.

height

integer

Default. 0.

radius

integer

Default. 0.

line-width

integer

Default. 0.

stroke-color

color

Default. black.

fill-color

color

 

 

Example

 

<rectangle x1="10" y1="100" width="180" height="40"/>