1 implementation of IPicture
Microsoft.Maui.Graphics (1)
StandardPicture.cs (1)
5
public class StandardPicture :
IPicture
14 references to IPicture
Microsoft.Maui.Graphics (14)
IPictureWriter.cs (2)
8
void Save(
IPicture
picture, Stream stream);
9
Task SaveAsync(
IPicture
picture, Stream stream);
PictureCanvas.cs (1)
27
public
IPicture
Picture => new StandardPicture(_x, _y, _width, _height, _commands.ToArray());
PictureExtensions.cs (1)
5
public static RectF GetBounds(this
IPicture
target)
PicturePattern.cs (3)
5
private readonly
IPicture
_picture;
7
public PicturePattern(
IPicture
picture, float stepX, float stepY) : base(picture.Width, picture.Height, stepX, stepY)
12
public PicturePattern(
IPicture
picture) : base(picture.Width, picture.Height)
PictureReader.cs (1)
5
IPicture
Read(byte[] data);
PictureReaderExtensions.cs (2)
8
public static
IPicture
Read(this IPictureReader target, Stream stream, string hash = null)
20
public static async Task<
IPicture
> ReadAsync(this IPictureReader target, Stream stream, string hash = null)
PictureWriterExtensions.cs (4)
9
public static byte[] SaveAsBytes(this IPictureWriter target,
IPicture
picture)
21
public static async Task<byte[]> SaveAsBytesAsync(this IPictureWriter target,
IPicture
picture)
33
public static string SaveAsBase64(this IPictureWriter target,
IPicture
picture)
42
public static Stream SaveAsStream(this IPictureWriter target,
IPicture
picture)