Share via


Paint Class

Definition

Represents an abstract base class for different types of paints that can be used to fill shapes.

public ref class Paint abstract
public abstract class Paint
type Paint = class
Public MustInherit Class Paint
Inheritance
Paint
Derived

Constructors

Paint()

Properties

BackgroundColor

Gets or sets the background color of the paint.

ForegroundColor

Gets or sets the foreground color of the paint.

IsTransparent

Gets a value indicating whether this paint has transparent areas.

Extension Methods

IsNullOrEmpty(Paint)
ToColor(Paint)

Applies to