BrickStyle.DeflateBorderWidth(RectangleF, BorderSide, Single) Method

Deflates the specified rectangle by the specified width of the specified borders.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Data.v20.2.dll

Declaration

public static RectangleF DeflateBorderWidth(
    RectangleF rect,
    BorderSide sides,
    float borderWidth
)
Public Shared Function DeflateBorderWidth(
    rect As RectangleF,
    sides As BorderSide,
    borderWidth As Single
) As RectangleF

Parameters

Name Type Description
rect RectangleF

A RectangleF value which specifies the rectangle to be deflated.

sides BorderSide

One or more BorderSide enumeration values, specifying which sides of a brick have borders.

borderWidth Single

A Single value which specifies the width of borders.

Returns

Type Description
RectangleF

A RectangleF value that represents the deflated rectangle.

See Also