Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSVML > RSGdiPlusGraphics > Classes > TRSGPPath > Methods

TRSGPPath.LineTo(Single,Single) Method

Scroll Prev Top Next More

Appends a line to the current path.

The line is defined by the end point of the path and a specified point. The x1, y1 parameters specify the end point of the line to be added. To move the start point of the line, call    MoveTo or    MoveToRel before calling LineTo. LineTo adds P to    Points. The added point is of type LineTo.

To find the end point of the path, call the    LastPoint method.
 

Namespace: RSGdiPlusGraphics

Parameters

x1

Type: Single

y1

Type: Single

Return Value

Type: TRSGPPath

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb