Share via


PatternPaint Class

Definition

Represents a paint that fills shapes with a repeating pattern.

public ref class PatternPaint : Microsoft::Maui::Graphics::Paint
public class PatternPaint : Microsoft.Maui.Graphics.Paint
type PatternPaint = class
    inherit Paint
Public Class PatternPaint
Inherits Paint
Inheritance
PatternPaint

Constructors

PatternPaint()

Properties

BackgroundColor

Gets or sets the background color of the paint.

(Inherited from Paint)
ForegroundColor

Gets or sets the foreground color of the paint.

(Inherited from Paint)
IsTransparent
Pattern

Gets or sets the pattern used for filling shapes.

Extension Methods

IsNullOrEmpty(Paint)
ToColor(Paint)
GetPatternBitmap(PatternPaint, Single, Single, Object)

Retrieves the bitmap pattern from a PatternPaint object with specified scale factors.

GetPatternBitmap(PatternPaint, Single)

Retrieves the bitmap pattern from a PatternPaint object.

Applies to