RectCenterRect Method

Centers another rectangle in this rectangle.

Definition

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public Rect CenterRect(
	Rect rect
)

Parameters

rect  Rect
The rectangle to center.

Return Value

Rect
The centered rectangle.

See Also