Skip to main content
All docs
V26.1
  • GraphicsCache.DrawRectangle(Pen, RectangleF) Method

    Draws a Rectangle.

    Namespace: DevExpress.Utils.Drawing

    Assembly: DevExpress.Utils.v26.1.dll

    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