Skip to main content

Deflate(Thickness) Method

Deflates the rectangle by a Thickness.

Definition

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public Rect Deflate(
Thickness thickness
)

Parameters

  Thickness
The thickness to be subtracted for each side of the rectangle.

Return Value

Rect
The deflated rectangle.

See Also

Reference

Rect Structure
Deflate Overload
Avalonia Namespace