PlatformImage Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- Inheritance
-
PlatformImage
- Implements
Constructors
PlatformImage(Byte[], ImageFormat) |
Properties
Bytes | |
Height | |
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) |
Saves the contents of this image to the provided Stream object. |
SaveAsync(Stream, ImageFormat, Single) |
Saves the contents of this image to the provided Stream object. |
ToPlatformImage() |
Extension Methods
AsBase64(IImage, ImageFormat, Single) | |
AsBytes(IImage, ImageFormat, Single) | |
AsBytesAsync(IImage, ImageFormat, Single) | |
AsPaint(IImage) | |
AsStream(IImage, ImageFormat, Single) |
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.