Rect.

Deflate(Thickness) Method

Summary

Deflates the rectangle by a Thickness.
Namespace
Avalonia
Containing Type
Rect

Syntax

public Rect Deflate(Thickness thickness)

Parameters

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

Return Value

Type Description
Rect The deflated rectangle.