PlatformImage Class

Definition

public ref class PlatformImage : IDisposable, Microsoft::Maui::Graphics::IImage
public class PlatformImage : IDisposable, Microsoft.Maui.Graphics.IImage
type PlatformImage = class
    interface IImage
    interface IDrawable
    interface IDisposable
Public Class PlatformImage
Implements IDisposable, IImage
Inheritance
PlatformImage
Implements

Constructors

PlatformImage(Byte[], ImageFormat)

Properties

Bytes
Height
Width

Methods

Dispose()
Downsize(Single, Boolean)
Downsize(Single, Single, Boolean)
Draw(ICanvas, RectF)
FromStream(Stream, ImageFormat)
Resize(Single, Single, ResizeMode, Boolean)
Save(Stream, ImageFormat, Single)
SaveAsync(Stream, ImageFormat, Single)
ToPlatformImage()

Extension Methods

AsBase64(IImage, ImageFormat, Single)
AsBytes(IImage, ImageFormat, Single)
AsBytesAsync(IImage, ImageFormat, Single)
AsPaint(IImage)
AsStream(IImage, ImageFormat, Single)

Applies to