[]
        
(Showing Draft Content)

C1.WPF.Document.C1LinearBrush

C1LinearBrush Class

Defines a linear gradient brush.

Inheritance
C1LinearBrush
Namespace: C1.WPF.Document
Assembly: C1.WPF.Document.4.6.2.dll
Syntax
public class C1LinearBrush : C1GradientBrush, INotifyPropertyChanged

Constructors

Name Description
C1LinearBrush()

Properties

Name Description
EndColor

Gets or sets the ending color of the current linear gradient brush.

EndPoint

Gets or sets the coordinates of the end point of the current linear gradient. (0,0) is the top-left corner, (1,1) is the bottom-right corner.

StartColor

Gets or sets the starting color of the current linear gradient brush.

StartPoint

Gets or sets the coordinates of the start point of the current linear gradient. (0,0) is the top-left corner, (1,1) is the bottom-right corner.

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.

CreateSame()

Creates an object of the same type as the current object.

GetHashCodeInt()

For internal use.