GetCenter(Visual) Method

Definition

Assembly HeadlessTestingFramework.dll

Gets the center point of a visual.

public static Point GetCenter(this Visual visual)

Parameters

visual
Avalonia.Visual

The visual to get the center for.

Returns

Avalonia.Point
The center point in the visual's coordinate space.