Show/Hide Toolbars

RiverSoftAVG Products Help

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

TRSPathData.HLineTo(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.

HLineTo adds the specified point to the    Points array. The end point of the line is moved horizontally from the last point of the TPathData to the point with the x-coordinate equal to X. The added point is of type ppLineTo.

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

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

Namespace: RSGraphics

Parameters

X

Type: Single

x-coordinate of the end point of the line.
 

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb