RectDeflate(Thickness) Method

Deflates the rectangle by a Thickness.

Definition

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public Rect Deflate(
	Thickness thickness
)

Parameters

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

Return Value

Rect
The deflated rectangle.

See Also