Draws a Line shape.
Syntax
<Line startX="float" startY="float" endX="float" endY="float" />
Attributes
The Line
element must contain the following attributes:
startX
,startY
- The start point of the line.
endX
,endY
- The end point of the line.
Inner elements
The Line
element must contain a single Stroke
. A line can also
optionally contain any number of Transform
elements.
Recommended for you
- Note: link text is displayed when JavaScript is off
- Line
- LinearGradient
- Rectangle