Share via


IPicture Interface

Definition

Defines an interface for a picture, which is a collection of drawing commands that can be replayed on a canvas.

public interface class IPicture
public interface IPicture
type IPicture = interface
Public Interface IPicture
Derived

Properties

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)

Draws this picture onto the specified canvas.

Extension Methods

GetBounds(IPicture)

Gets the bounds of a picture as a rectangle.

Applies to