RectCenterRect Method
Centers another rectangle in this rectangle.
Namespace: AvaloniaAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public Rect CenterRect(
Rect rect
)
Public Function CenterRect (
rect As Rect
) As Rect
member CenterRect :
rect : Rect -> Rect
- rect Rect
- The rectangle to center.
RectThe centered rectangle.