VisualExtensions.

PointToClient(IVisual, PixelPoint) Method

Summary

Converts a point from screen to client coordinates.
Namespace
Avalonia
Containing Type
VisualExtensions

Syntax

public static Point PointToClient(this IVisual visual, PixelPoint point)

Parameters

Name Type Description
visual IVisual The visual.
point PixelPoint The point in screen coordinates.

Return Value

Type Description
Point The point in client coordinates.