Skip to main content

BrickStyle.InflateBorderWidth(RectangleF, BorderSide, Single, BrickBorderStyle) Method

Inflates the specified rectangle by the specified width of specified borders using the specified border style.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v23.1.Core.dll

NuGet Packages: DevExpress.Printing.Core, DevExpress.Win.Dashboard.Design


public static RectangleF InflateBorderWidth(
    RectangleF rect,
    BorderSide sides,
    float borderWidth,
    BrickBorderStyle borderStyle


Name Type Description
rect RectangleF

A RectangleF value which specifies the rectangle to be inflated.

sides BorderSide

A BorderSide enumeration value that specifies which sides of a brick have borders.

borderWidth Single

A Single value which specifies the width of borders.

borderStyle BrickBorderStyle

A BrickBorderStyle enumeration value that specifies the brick style.


Type Description

A RectangleF value that represents the inflated rectangle.

See Also