Share via


SolidPaint Class

Definition

Represents a paint that fills shapes with a solid color.

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

Constructors

SolidPaint()

Initializes a new instance of the SolidPaint class with default values.

SolidPaint(Color)

Initializes a new instance of the SolidPaint class with the specified color.

Properties

BackgroundColor

Gets or sets the background color of the paint.

(Inherited from Paint)
Color

Gets or sets the color used to fill shapes.

ForegroundColor

Gets or sets the foreground color of the paint.

(Inherited from Paint)
IsTransparent

Gets a value indicating whether this paint has transparent areas.

Methods

ToString()

Extension Methods

Lerp(SolidPaint, SolidPaint, Double)
IsNullOrEmpty(Paint)
ToColor(Paint)

Applies to