IRenderTarget.

CreateDrawingContext(IVisualBrushRenderer) Method

Summary

Creates an IDrawingContextImpl for a rendering session.
Namespace
Avalonia.Platform
Containing Type
IRenderTarget

Syntax

IDrawingContextImpl CreateDrawingContext(IVisualBrushRenderer visualBrushRenderer)

Parameters

Name Type Description
visualBrushRenderer IVisualBrushRenderer A render to be used to render visual brushes. May be null if no visual brushes are to be drawn.

Return Value

Type Description
IDrawingContextImpl