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
Delphi |
public |
Parameters
X
Type: Single
x-coordinate of the end point of the line.