Skip to main content

IRenderRoot Interface

Not client implementable.

Note: This interface is not client implementable. You need to enable PrivateApi if you want to implement this interface.

Represents the root of a renderable tree.

Definition

Namespace: Avalonia.Rendering
Assembly: Avalonia.Base (in Avalonia.Base.dll)

[NotClientImplementableAttribute]
public interface IRenderRoot
View Source

Properties

ClientSizeGets the client size of the window.
HitTester 
RendererGets the renderer for the window.
RenderScalingThe scaling factor to use in rendering.

Methods

PointToClient(PixelPoint)Converts a point from screen to client coordinates.
PointToScreen(Point)Converts a point from client to screen coordinates.

See Also

Reference

Avalonia.Rendering Namespace