共用方式為


IImage Interface

Definition

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
Derived
Implements

Properties

Height
Width

Methods

Downsize(Single, Boolean)
Downsize(Single, Single, Boolean)
Draw(ICanvas, RectF) (Inherited from IDrawable)
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