[]
        
(Showing Draft Content)

C1.WPF.Document.C1GradientBrush

C1GradientBrush Class

Abstract base class for various gradient brushes.

Namespace: C1.WPF.Document
Assembly: C1.WPF.Document.4.6.2.dll
Syntax
public abstract class C1GradientBrush : C1Brush, INotifyPropertyChanged

Constructors

Name Description
C1GradientBrush()

Creates a new instance of the C1GradientBrush class.

Properties

Name Description
Color1

Gets the first color of the gradient. Note that setting this property automatically changes the GradientStops collection (the color of the first gradient stop will be changed).

Color2

Gets the last color of the gradient. Note that settings this property automatically changes the GradientStops collection (the color of the last gradient stop will be changed).

GradientStops

Gets the brush's gradient stops.

Methods

Name Description
AssignFrom(VisualPrimitive)

Assigns (copies) properties from another VisualPrimitive to the current object.

Compare(VisualPrimitive)

Compares this VisualPrimitive object with another VisualPrimitive object returns true if objects represent same object.

GetHashCodeInt()

For internal use.