Sdílet prostřednictvím


PlatformImage Třída

Definice

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
Dědičnost
PlatformImage
Implementuje

Konstruktory

PlatformImage(Byte[], ImageFormat)

Vlastnosti

Bytes
Height
Width

Metody

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

Uloží obsah tohoto obrázku do poskytnutého Stream objektu.

SaveAsync(Stream, ImageFormat, Single)

Uloží obsah tohoto obrázku do poskytnutého Stream objektu.

ToPlatformImage()

Metody rozšíření

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

Platí pro