DXGraphics.DrawRectangle(DXPen, RectangleF) Method
In This Article
Draws a rectangle.
Namespace: DevExpress.Drawing
Assembly: DevExpress.Drawing.v24.2.dll
NuGet Package: DevExpress.Drawing
#Declaration
public void DrawRectangle(
DXPen pen,
RectangleF bounds
)
#Parameters
Name | Type | Description |
---|---|---|
pen | DXPen | An object that determines the color, width, and style of the rectangle. |
bounds | Rectangle |
The rectangle to draw. |
See Also