Deflate(Thickness) Method
Deflates the rectangle by a Thickness.
Definition
Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public Rect Deflate(
Thickness thickness
)
Public Function Deflate (
thickness As Thickness
) As Rect
member Deflate :
thickness : Thickness -> Rect
Parameters
- Thickness
- The thickness to be subtracted for each side of the rectangle.
Return Value
Rect
The deflated rectangle.