Skip to main content

SolidBrush Class

NuGet: GHIElectronics.TinyCLR.Drawing
Assembly: GHIElectronics.TinyCLR.Drawing
Namespace: System.Drawing

A brush that fills with a single solid Color.

public class SolidBrush : Brush

Constructors

SolidBrush(Color color)

public SolidBrush(Color color)

Initializes a new solid brush with the specified fill color.

Properties

Color

public Color Color { get; set; }

Gets or sets the color used to fill shapes.

Methods

Clone()

public override object Clone()

Creates an exact copy of this solid brush.

Returns object