Skip to main content

IRenderDataGeometry Interface

Definition

Assembly:Avalonia.Base
Package:Avalonia

Common abstraction for a geometry to render. It is implemented by both the immutable platform Avalonia.Platform.IGeometryImpl (which returns itself) and the compositor-aware Avalonia.Rendering.Composition.Server.ServerCompositionSimpleGeometry server resource (which returns its current, mutable backing geometry). This lets the render data stay strongly typed while still resolving to the concrete Avalonia.Platform.IGeometryImpl that platform drawing contexts require.

public interface IRenderDataGeometry

On this page