Skip to content

Rect.Inflate method (1 of 2)

Returns a new rectangle inflated by the given thickness.

public Rect Inflate(Thickness thickness)
parameter description
thickness The thickness to add on each side.

Returns a new rectangle inflated by the given amount in each direction.

public Rect Inflate(double dx, double dy)
parameter description
dx The horizontal inflation amount.
dy The vertical inflation amount.