Element - line

The line element draws a line.

Syntax:

Element

Attributes

Value

Notes for Element/Attribute/Value

line

x1

integer

Default. 0.

y1

integer

Default. 0.

x2

integer

Default. 0.

y2

integer

Default. 0.

line-width

integer

Default. 0.

stroke-color

color

Default. black.

 

Example

 

<line x1="10" y1="290" x2="190" y2="290" stroke-color="blue"/>