Partager via


SkiaImage Class

Definition

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
Inheritance
SkiaImage
Implements

Constructors

SkiaImage(SKBitmap)

Properties

Height
PlatformRepresentation
Width

Methods

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

Extension Methods

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

Applies to