GraphicsCache.DrawRectangle(Pen, RectangleF) Method
In This Article
Draws a Rectangle.
Namespace: DevExpress.Utils.Drawing
Assembly: DevExpress.Utils.v24.2.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
#Declaration
public void DrawRectangle(
Pen pen,
RectangleF rect
)
#Parameters
Name | Type | Description |
---|---|---|
pen | Pen | A Pen object that specifies the color, width, and style of the rectangle. |
rect | Rectangle |
A Rectangle structure that represents the rectangle to draw. |
See Also