DXGraphics.DrawLine(DXPen, Single, Single, Single, Single) Method
Draws a line that connects two points.
Namespace: DevExpress.Drawing
Assembly: DevExpress.Drawing.v25.1.dll
NuGet Package: DevExpress.Drawing
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| pen | DXPen | An object that determines the color, width, and style of the line. |
| x1 | Single | The x-coordinate of the first point. |
| y1 | Single | The y-coordinate of the first point. |
| x2 | Single | The x-coordinate of the second point. |
| y2 | Single | The y-coordinate of the second point. |
See Also