IRenderer Interface

Defines the interface for a renderer.

Definition

Namespace: Avalonia.Rendering
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
[PrivateApiAttribute]
public interface IRenderer : IDisposable
Implements
IDisposable

Properties

Diagnostics Gets a value indicating whether the renderer should draw specific diagnostics.

Methods

AddDirty(Visual) Mark a visual as dirty and needing re-rendering.
DisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable)
Paint(Rect) Called when a paint notification is received by the control being rendered.
RecalculateChildren(Visual) Informs the renderer that the z-ordering of a visual's children has changed.
Resized(Size) Called when a resize notification is received by the control being rendered.
Start Starts the renderer.
Stop Stops the renderer.
TryGetRenderInterfaceFeature(Type) Attempts to query for a feature from the platform render interface

Events

SceneInvalidated Raised when a portion of the scene has been invalidated.

See Also