Skip to main content
All docs
V24.1

DXGraphicsPath.AddLine(Single, Single, Single, Single) Method

Appends a line segment to the figure.

Namespace: DevExpress.Drawing

Assembly: DevExpress.Drawing.v24.1.dll

NuGet Package: DevExpress.Drawing

Declaration

public void AddLine(
    float x1,
    float y1,
    float x2,
    float y2
)

Parameters

Name Type Description
x1 Single

The x-coordinate of the line’s starting point.

y1 Single

The y-coordinate of the line’s starting point.

x2 Single

The x-coordinate of the line’s endpoint.

y2 Single

The y-coordinate of the line’s endpoint.

See Also