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
Delphi |
public |
Parameters
X
Type: Single
Distance to the end point of the current TRSPathData on the x-axis.