You're now here » Home » line
line
Used to draw an line. Can be used anywhere within the <body> element.
Attribute Values
| value | Description |
|---|---|
| from | X1,Y1. Defines the starting point for the line. |
| to | X2,Y2. Defines the end point for the line. |
| color | The color for the line. |
| width | The width of the line. |
Example:
.. <!-- horizontal, red line --> <line from="10,10" to="50,10" color="#ff0000"> <!-- vertical, blue line --> <line from="10,10" to="10,50" color="#0000ff"> ..