Table of Contents

Shape:lineTo

Available since version: Gideros 2011.6

Description:

Adds the given point to the current subpath, connected to the previous one by a straight line.

Syntax:

Shape:lineTo(x, y)

Parameters:

  • x: (number) x coordinate of the point.
  • y: (number) y coordinate of the point.