IVisualBrushRenderer Interface

Summary

Defines a renderer used to render a visual brush to a bitmap.
graph BT Type["IVisualBrushRenderer"] class Type type-node Implementing0["ImmediateRenderer"]-.->Type click Implementing0 "/api/Avalonia.Rendering/ImmediateRenderer" Implementing1["DeferredRenderer"]-.->Type click Implementing1 "/api/Avalonia.Rendering/DeferredRenderer"

Syntax

public interface IVisualBrushRenderer

Methods

Name Value Summary
GetRenderTargetSize(IVisualBrush) Size
Gets the size of the intermediate render target to which the visual brush should be drawn.
RenderVisualBrush(IDrawingContextImpl, IVisualBrush) void
Renders a visual brush to a bitmap.