RenderTargetBitmapCreateDrawingContext(Boolean) Method
Namespace: Avalonia.Media.ImagingAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public DrawingContext CreateDrawingContext(
bool clear
)
Public Function CreateDrawingContext (
clear As Boolean
) As DrawingContext
member CreateDrawingContext :
clear : bool -> DrawingContext
- clear Boolean
- If true, clears the current image data to transparent, if false, leaves the image data unchanged.
DrawingContextThe drawing context.