AggPas - Anti-Grain Geomertry for Object Pascal

TAgg2D.LineTo(x, y)

Description

Adds a LINE_TO_ABS path command to the current subpath. A new Line starts at the Current Point position and ends at defined coordinates. Current Point is finally changed to be at the end of a new Line segment.

Parameters

x: double

X coordinate of end of a new Line segment [in subpixels].

y: double

Y coordinate of end of a new Line segment [in subpixels].

Example

See the Path Example page.