Table of Contents

Interface IRenderTarget2

Namespace
Avalonia.Platform
Assembly
Avalonia.Base.dll
[PrivateApi]
public interface IRenderTarget2 : IRenderTarget, IDisposable
Inherited Members

Properties

Properties

RenderTargetProperties Properties { get; }

Property Value

RenderTargetProperties

Methods

CreateDrawingContext(PixelSize, out RenderTargetDrawingContextProperties)

Creates an IDrawingContextImpl for a rendering session.

IDrawingContextImpl CreateDrawingContext(PixelSize expectedPixelSize, out RenderTargetDrawingContextProperties properties)

Parameters

expectedPixelSize PixelSize

The pixel size of the surface

properties RenderTargetDrawingContextProperties

Returns various properties about the returned drawing context

Returns

IDrawingContextImpl