Show/Hide Toolbars

RiverSoftAVG Products Help

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

TRSPathData.HLineToRel(Single) Method

Scroll Prev Top Next More

Appends a line to the current TRSPathData.

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

HLineToRel adds the specified point to the    Points array. The The end point of the line is moved horizontally by a distance equal to X to the end point of the TRSPathData. The added point is of type ppLineTo.

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

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

Namespace: RSGraphics

Parameters

X

Type: Single

Distance to the end point of the current TRSPathData on the x-axis.
 

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb