RenderTargetBitmapCreateDrawingContext Method

Creates a DrawingContext for drawing to the RenderTargetBitmap. Clears the current image data to transparent.

Definition

Namespace: Avalonia.Media.Imaging
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public DrawingContext CreateDrawingContext()

Return Value

DrawingContext
The drawing context.

See Also