IRenderTargetBitmapImpl Interface

Defines the platform-specific interface for a RenderTargetBitmap.

Definition

Namespace: Avalonia.Platform
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
[UnstableAttribute]
public interface IRenderTargetBitmapImpl : IBitmapImpl, 
	IDisposable, IRenderTarget
Implements
IBitmapImpl, IRenderTarget, IDisposable

Properties

Dpi Gets the dots per inch (DPI) of the image.
(Inherited from IBitmapImpl)
IsCorrupted Indicates if the render target is no longer usable and needs to be recreated
(Inherited from IRenderTarget)
PixelSize Gets the size of the bitmap, in device pixels.
(Inherited from IBitmapImpl)
Version Version of the pixel data
(Inherited from IBitmapImpl)

Methods

CreateDrawingContext(Boolean) Creates an IDrawingContextImpl for a rendering session.
(Inherited from IRenderTarget)
DisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable)
Save(Stream, NullableInt32) Saves the bitmap to a stream in png format.
(Inherited from IBitmapImpl)
Save(String, NullableInt32) Saves the bitmap to a file.
(Inherited from IBitmapImpl)

See Also