[]
        
(Showing Draft Content)

C1.Framework.Drawing.Gdi.ColorBrush

ColorBrush Class

Defines a brush that has a solid color.

Inheritance
ColorBrush
Implements
Namespace: C1.Framework.Drawing.Gdi
Assembly: C1.Win.Input.8.dll
Syntax
public sealed class ColorBrush : Brush, IDisposable, ICloneable
Remarks

This brush has the same funtion as SolidBrush in painting. This brush will not consume gdi handle. In other word, the Handle property is always IntPtr.Zero. So it can not be used to DeviceContext.

Constructors

Name Description
ColorBrush(Color)

Initializes a new instance of the ColorBrush class.

Properties

Name Description
Color

Gets or sets the color of the brush.

Methods

Name Description
Clone()

Creates an exact copy if this ColorBrush object.