Share via


PicturePattern Constructors

Definition

Overloads

PicturePattern(IPicture)

Initializes a new instance of the PicturePattern class with the specified picture. Uses the picture's dimensions as step sizes.

PicturePattern(IPicture, Single, Single)

Initializes a new instance of the PicturePattern class with the specified picture and step sizes.

PicturePattern(IPicture)

Source:
PicturePattern.cs
Source:
PicturePattern.cs
Source:
PicturePattern.cs

Initializes a new instance of the PicturePattern class with the specified picture. Uses the picture's dimensions as step sizes.

public:
 PicturePattern(Microsoft::Maui::Graphics::IPicture ^ picture);
public PicturePattern(Microsoft.Maui.Graphics.IPicture picture);
new Microsoft.Maui.Graphics.PicturePattern : Microsoft.Maui.Graphics.IPicture -> Microsoft.Maui.Graphics.PicturePattern
Public Sub New (picture As IPicture)

Parameters

picture
IPicture

The picture to use as a pattern.

Exceptions

Thrown when picture is null.

Applies to

PicturePattern(IPicture, Single, Single)

Source:
PicturePattern.cs
Source:
PicturePattern.cs
Source:
PicturePattern.cs

Initializes a new instance of the PicturePattern class with the specified picture and step sizes.

public:
 PicturePattern(Microsoft::Maui::Graphics::IPicture ^ picture, float stepX, float stepY);
public PicturePattern(Microsoft.Maui.Graphics.IPicture picture, float stepX, float stepY);
new Microsoft.Maui.Graphics.PicturePattern : Microsoft.Maui.Graphics.IPicture * single * single -> Microsoft.Maui.Graphics.PicturePattern
Public Sub New (picture As IPicture, stepX As Single, stepY As Single)

Parameters

picture
IPicture

The picture to use as a pattern.

stepX
Single

The horizontal step size for repeating the pattern.

stepY
Single

The vertical step size for repeating the pattern.

Exceptions

Thrown when picture is null.

Applies to