Condividi tramite


PlatformImage Classe

Definizione

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
Ereditarietà
PlatformImage
Implementazioni

Costruttori

PlatformImage(Byte[], ImageFormat)

Proprietà

Bytes
Height
Width

Metodi

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

Salva il contenuto di questa immagine nell'oggetto specificato Stream .

SaveAsync(Stream, ImageFormat, Single)

Salva il contenuto di questa immagine nell'oggetto specificato Stream .

ToPlatformImage()

Metodi di estensione

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

Si applica a