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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.