Vcl.Direct2D.TDirect2DCanvas.DrawLine

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DrawLine(Point0, Point1: TD2DPoint2f);

C++

void __fastcall DrawLine(const D2D_POINT_2F &Point0, const D2D_POINT_2F &Point1);

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.

Use DrawLine to draw a line from Point0 to Point1 using the Pen property. DrawLine does not use or modify the PenPos property.

See Also