Share via


StandardPicture Class

Definition

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

Name Description
StandardPicture(Single, Single, Single, Single, DrawingCommand[], String)

Initializes a new instance of the StandardPicture class with the specified location, size, and drawing commands.

Properties

Name Description
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

Name Description
Draw(ICanvas)

Extension Methods

Name Description
GetBounds(IPicture)

Gets the bounds of a picture as a rectangle.

Applies to