StandardPicture 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.
Provides a standard implementation of the IPicture interface using drawing commands.
public ref class StandardPicture : Microsoft::Maui::Graphics::IPicture
public class StandardPicture : Microsoft.Maui.Graphics.IPicture
type StandardPicture = class
interface IPicture
Public Class StandardPicture
Implements IPicture
- Inheritance
-
StandardPicture
- Implements
Constructors
| StandardPicture(Single, Single, Single, Single, DrawingCommand[], String) |
Initializes a new instance of the StandardPicture class with the specified location, size, and drawing commands. |
Properties
| Hash |
Gets or sets a hash value that uniquely identifies this picture's content. |
| Height |
Gets the height of the picture. |
| Width |
Gets the width of the picture. |
| X |
Gets the x-coordinate of the picture's origin. |
| Y |
Gets the y-coordinate of the picture's origin. |
Methods
| Draw(ICanvas) |
Extension Methods
| GetBounds(IPicture) |
Gets the bounds of a picture as a rectangle. |