共用方式為


IImage 介面

定義

public interface class IImage : IDisposable, Microsoft::Maui::Graphics::IDrawable
public interface IImage : IDisposable, Microsoft.Maui.Graphics.IDrawable
type IImage = interface
    interface IDrawable
    interface IDisposable
Public Interface IImage
Implements IDisposable, IDrawable
衍生
實作

屬性

Height
Width

方法

Downsize(Single, Boolean)
Downsize(Single, Single, Boolean)
Draw(ICanvas, RectF) (繼承來源 IDrawable)
Resize(Single, Single, ResizeMode, Boolean)
Save(Stream, ImageFormat, Single)
SaveAsync(Stream, ImageFormat, Single)
ToPlatformImage()

擴充方法

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

適用於