IImage Interface

Summary

Represents a raster or vector image.
graph BT Type["IImage"] class Type type-node Implementing0["RenderTargetBitmap"]-.->Type click Implementing0 "/api/Avalonia.Media.Imaging/RenderTargetBitmap" Implementing1["IBitmap"]-.->Type click Implementing1 "/api/Avalonia.Media.Imaging/IBitmap" Implementing2["CroppedBitmap"]-.->Type click Implementing2 "/api/Avalonia.Media.Imaging/CroppedBitmap" Implementing3["Bitmap"]-.->Type click Implementing3 "/api/Avalonia.Media.Imaging/Bitmap" Implementing4["DrawingImage"]-.->Type click Implementing4 "/api/Avalonia.Media/DrawingImage" Implementing5["WriteableBitmap"]-.->Type click Implementing5 "/api/Avalonia.Media.Imaging/WriteableBitmap"

Syntax

public interface IImage

Properties

Name Value Summary
Size Size
Gets the size of the image, in device independent pixels.

Methods

Name Value Summary
Draw(DrawingContext, Rect, Rect, BitmapInterpolationMode) void
Draws the image to a DrawingContext.