Share via


AbstractPattern Constructors

Definition

Overloads

AbstractPattern(Single)
AbstractPattern(Single, Single)

Initializes a new instance of the AbstractPattern class with the specified dimensions.

AbstractPattern(Single, Single, Single, Single)

Initializes a new instance of the AbstractPattern class with the specified dimensions and step sizes.

AbstractPattern(Single)

Source:
AbstractPattern.cs
Source:
AbstractPattern.cs
Source:
AbstractPattern.cs
protected:
 AbstractPattern(float stepSize);
protected AbstractPattern(float stepSize);
new Microsoft.Maui.Graphics.AbstractPattern : single -> Microsoft.Maui.Graphics.AbstractPattern
Protected Sub New (stepSize As Single)

Parameters

stepSize
Single

Applies to

AbstractPattern(Single, Single)

Source:
AbstractPattern.cs
Source:
AbstractPattern.cs
Source:
AbstractPattern.cs

Initializes a new instance of the AbstractPattern class with the specified dimensions.

protected:
 AbstractPattern(float width, float height);
protected AbstractPattern(float width, float height);
new Microsoft.Maui.Graphics.AbstractPattern : single * single -> Microsoft.Maui.Graphics.AbstractPattern
Protected Sub New (width As Single, height As Single)

Parameters

width
Single

The width of the pattern.

height
Single

The height of the pattern.

Remarks

Sets both step sizes equal to the pattern dimensions, creating a non-overlapping tiled pattern.

Applies to

AbstractPattern(Single, Single, Single, Single)

Source:
AbstractPattern.cs
Source:
AbstractPattern.cs
Source:
AbstractPattern.cs

Initializes a new instance of the AbstractPattern class with the specified dimensions and step sizes.

protected:
 AbstractPattern(float width, float height, float stepX, float stepY);
protected AbstractPattern(float width, float height, float stepX, float stepY);
new Microsoft.Maui.Graphics.AbstractPattern : single * single * single * single -> Microsoft.Maui.Graphics.AbstractPattern
Protected Sub New (width As Single, height As Single, stepX As Single, stepY As Single)

Parameters

width
Single

The width of the pattern.

height
Single

The height of the pattern.

stepX
Single

The horizontal step size for repeating the pattern.

stepY
Single

The vertical step size for repeating the pattern.

Applies to