TCustomBitmap32.Line

procedure Line(X1, Y1, X2, Y2: Integer; Value: TColor32; L: Boolean = False);

procedure LineS(X1, Y1, X2, Y2: Integer; Value: TColor32; L: Boolean = False);

procedure LineT(X1, Y1, X2, Y2: Integer; Value: TColor32; L: Boolean = False);

procedure LineTS(X1, Y1, X2, Y2: Integer; Value: TColor32; L: Boolean = False);

procedure LineA(X1, Y1, X2, Y2: Integer; Value: TColor32; L: Boolean = False);

procedure LineAS(X1, Y1, X2, Y2: Integer; Value: TColor32; L: Boolean = False);

procedure LineX(X1, Y1, X2, Y2: TFixed; Value: TColor32; L: Boolean = False);

procedure LineXS(X1, Y1, X2, Y2: TFixed; Value: TColor32; L: Boolean = False);

procedure LineF(X1, Y1, X2, Y2: Single; Value: TColor32; L: Boolean = False);

procedure LineFS(X1, Y1, X2, Y2: Single; Value: TColor32; L: Boolean = False);

procedure LineXP(X1, Y1, X2, Y2: TFixed; L: Boolean = False);

procedure LineXSP(X1, Y1, X2, Y2: TFixed; L: Boolean = False);

procedure LineFP(X1, Y1, X2, Y2: Single; L: Boolean = False);

procedure LineFSP(X1, Y1, X2, Y2: Single; L: Boolean = False);

Description

Draws a line from (X1,Y1) to (X2,Y2).

The last parameter (L) determines whether the last point (X2,Y2) is to be drawn. It's often useful not to draw this point, especially when drawing sequences of semi-transparent and/or antialiased lines. By default the last point is not drawn.

For an explanation of the differences between each of these methods (specifically what the postfixes S, A, X, F and P mean), then see Naming Conventions.

See Also

Naming Conventions, HorzLine, LineTo, MoveTo, VertLine, Color Types