IBitmapImpl Interface

Summary

Defines the platform-specific interface for a Bitmap.
Namespace
Avalonia.Platform
Interfaces
  • IDisposable
Implementing Types
graph BT Type-.->Interface0["IDisposable"] Type["IBitmapImpl"] class Type type-node Implementing0["IRenderTargetBitmapImpl"]-.->Type click Implementing0 "/api/Avalonia.Platform/IRenderTargetBitmapImpl" Implementing1["IDrawingContextLayerImpl"]-.->Type click Implementing1 "/api/Avalonia.Platform/IDrawingContextLayerImpl" Implementing2["IWriteableBitmapImpl"]-.->Type click Implementing2 "/api/Avalonia.Platform/IWriteableBitmapImpl"

Syntax

public interface IBitmapImpl : IDisposable

Properties

Name Value Summary
Dpi Vector
Gets the dots per inch (DPI) of the image.
PixelSize PixelSize
Gets the size of the bitmap, in device pixels.
Version int
Version of the pixel data

Methods

Name Value Summary
Save(Stream) void
Saves the bitmap to a stream in png format.
Save(string) void
Saves the bitmap to a file.