Table of Contents

Interface IRenderRoot

Namespace
Avalonia.Rendering
Assembly
Avalonia.Base.dll

Represents the root of a renderable tree.

[NotClientImplementable]
public interface IRenderRoot

Properties

ClientSize

Gets the client size of the window.

Size ClientSize { get; }

Property Value

Size

HitTester

IHitTester HitTester { get; }

Property Value

IHitTester

RenderScaling

The scaling factor to use in rendering.

double RenderScaling { get; }

Property Value

double

Renderer

Gets the renderer for the window.

IRenderer Renderer { get; }

Property Value

IRenderer

Methods

PointToClient(PixelPoint)

Converts a point from screen to client coordinates.

Point PointToClient(PixelPoint point)

Parameters

point PixelPoint

The point in screen device coordinates.

Returns

Point

The point in client coordinates.

PointToScreen(Point)

Converts a point from client to screen coordinates.

PixelPoint PointToScreen(Point point)

Parameters

point Point

The point in client coordinates.

Returns

PixelPoint

The point in screen device coordinates.