API:Vcl.Direct2D.TDirect2DCanvas.LineTo
Delphi
procedure LineTo(X, Y: Integer); override;
C++
virtual void __fastcall LineTo(int X, int Y);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.Direct2D.pas Vcl.Direct2D.hpp |
Vcl.Direct2D | TDirect2DCanvas |
Description
Draws a line on the canvas from PenPos to the point specified by X and Y, and sets the pen position to (X, Y).
Vcl.Direct2D.TDirect2DCanvas.LineTo inherits from Vcl.Graphics.TCustomCanvas.LineTo. All content below this line refers to Vcl.Graphics.TCustomCanvas.LineTo.
Draws a line on the canvas from PenPos to the point specified by X and Y, and sets the pen position to (X, Y).
Override the LineTo method to implement drawing a line from PenPos up to, but not including the point (X,Y). LineTo changes the value of PenPos to (X,Y).