IVisualBrushRenderer.

RenderVisualBrush(IDrawingContextImpl, IVisualBrush) Method

Summary

Renders a visual brush to a bitmap.
Namespace
Avalonia.Rendering
Containing Type
IVisualBrushRenderer

Syntax

void RenderVisualBrush(IDrawingContextImpl context, IVisualBrush brush)

Parameters

Name Type Description
context IDrawingContextImpl The drawing context to render to.
brush IVisualBrush The visual brush.

Return Value

Type Description
void A bitmap containing the rendered brush.