Skip to main content

IImage Interface

Represents a raster or vector image.

Definition​

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public interface IImage
View Source

Properties​

SizeGets the size of the image, in device independent pixels.

Methods​

Draw(DrawingContext, Rect, Rect)Draws the image to a DrawingContext.

See Also​

Reference​

Avalonia.Media Namespace