Show: Delphi C++
From RAD Studio API Documentation
TLine = class(TShape)
class PASCALIMPLEMENTATION TLine : public TShape
TLine defines 2D lines. It inherits TControl and can be used in styles to construct controls.
The end points of the line to draw are defined by the following properties of the TLine object:
- The shape rectangle and the LineType define the straight-line segment to draw:
- RotationCenter defines the rotation axis and RotationAngle defines the rotation angle on which the straight-line segment is rotated to obtain the line to draw.
- Note: Scaling not only scales the line length proportionally to scaling the factors. It also changes the thickness of the stroke that draws the line. That change is proportional to the scaling factor for each axis.