共用方式為


SkiaImage 類別

定義

public ref class SkiaImage : IDisposable, Microsoft::Maui::Graphics::IImage
public class SkiaImage : IDisposable, Microsoft.Maui.Graphics.IImage
type SkiaImage = class
    interface IImage
    interface IDrawable
    interface IDisposable
Public Class SkiaImage
Implements IDisposable, IImage
繼承
SkiaImage
實作

建構函式

SkiaImage(SKBitmap)

屬性

Height
PlatformRepresentation
Width

方法

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()

擴充方法

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

適用於