Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSVclCommon > RSGraphics > Classes > TRSPathData > Methods

TRSPathData.LineToRel(TRSPoint) Method

Scroll Prev Top Next More

Appends a line to the current TRSPathData.

The line is defined by the end point of the TPathData and a point that depends on the point specified by the parameter.

To move the start point of the line, call    MoveTo or    MoveToRel before calling LineToRel.

LineToRel adds P to    Points . Its coordinates are equal to the sum between the coordinates of the last point and the coordinates of P. The added point is of type ppLineTo.

To find the last point of the TRSPathData, call the    LastPoint method.
 

Namespace: RSGraphics

Parameters

P

Type: System.Void

Distances to the last point of the current TRSPathData, on each axis.
 

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb