BrickStyle.DeflateBorderWidth(RectangleF, BorderSide, Single) Method
In This Article
Deflates the specified rectangle by the specified width of the specified borders.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Printing.v24.2.Core.dll
NuGet Package: DevExpress.Printing.Core
#Declaration
public static RectangleF DeflateBorderWidth(
RectangleF rect,
BorderSide sides,
float borderWidth
)
#Parameters
Name | Type | Description |
---|---|---|
rect | Rectangle |
A Rectangle |
sides | Border |
One or more Border |
border |
Single | A Single value which specifies the width of borders. |
#Returns
Type | Description |
---|---|
Rectangle |
A Rectangle |
See Also