Class Brush

Brush class

The brush. Brushes are used to paint the interior of the geometric shapes defined by a Path element and the characters rendered with a Glyphs element. They are also used to define the alpha transparency mask in the Canvas.OpacityMask, Path.OpacityMask, and Glyphs.OpacityMask property elements.

public class Brush

Constructors

NameDescription
Brush()The default constructor.

Properties

NameDescription
Item { get; set; }Gets or sets the item. Solid color brush - Fills a region with a solid color. Image brush - Fills a region with an image. Visual brush - Fills a region with a drawing. Linear gradient brush - Fills a region with a linear gradient. Radial gradient brush - Fills a region with a radial gradient.

See Also