Line

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.

These attributes are transformable.

endX, endY

The end point of the line.

These attributes are transformable.

Inner elements

The Line element must contain a single Stroke. A line can also optionally contain any number of Transform elements.