# lineto element

Type: | Images and Specials
Attributes: | x • y
See: | arcto bezierto moveto shape

The lineto tag may be used inside a shape element to draw a line from the current cursor to the specified point. The x and y attributes must be set to the x and y position relative to the top left of the enclosing shape.

    <shape width="100" height="100">
      <shapepath>
        <moveto x="20" y="20"/>
        <lineto x="80" y="80"/>
      </shapepath>
    </shape>