Skip to main content

GraphicsCache.DrawRectangle(Pen, RectangleF) Method

Draws a Rectangle.

Namespace: DevExpress.Utils.Drawing

Assembly: DevExpress.Utils.v23.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 RectangleF

A Rectangle structure that represents the rectangle to draw.

See Also