Class GradientFill
Describes a gradient type of fill.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Model
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class GradientFill : IFill
Constructors
GradientFill(GradientType, Color, Color)
Initializes a new instance of the Gradient
Declaration
public GradientFill(GradientType gradientType, Color color1, Color color2)
Parameters
Gradient Type of the gradient. |
System. The first color. |
System. The second color. |
GradientFill(GradientType, ThemableColor, ThemableColor)
Initializes a new instance of the Gradient
Declaration
public GradientFill(GradientType gradientType, ThemableColor color1, ThemableColor color2)
Parameters
Gradient Type of the gradient. |
Themable The first color. |
Themable The second color. |
Properties
Color1
Gets the first color.
Declaration
public ThemableColor Color1 { get; }
Property Value
Themable The first color. |
Color2
Gets the second color.
Declaration
public ThemableColor Color2 { get; }
Property Value
Themable The second color. |
GradientType
Gets the type of the gradient.
Declaration
public GradientType GradientType { get; }
Property Value
Gradient The type of the gradient. |
Methods
Equals(Object)
Determines whether the specified System.
Declaration
public override bool Equals(object obj)
Parameters
System. The object to compare with the current object. |
Returns
System. True if the specified System. |
Overrides
GetHashCode()
Serves as a hash function for a particular type.
Declaration
public override int GetHashCode()
Returns
System. A hash code for the current System. |