Class SpreadGradientFill
Describes a gradient type of fill.
Inheritance
Inherited Members
Namespace: Telerik.Documents.SpreadsheetStreaming
Assembly: Telerik.Documents.SpreadsheetStreaming.dll
Syntax
public class SpreadGradientFill : ISpreadFill
Constructors
SpreadGradientFill(SpreadGradientType, SpreadThemableColor, SpreadThemableColor)
Initializes a new instance of the SpreadGradientFill class.
Declaration
public SpreadGradientFill(SpreadGradientType gradientType, SpreadThemableColor color1, SpreadThemableColor color2)
Parameters
SpreadGradientType
gradientType
Type of the gradient. |
SpreadThemableColor
color1
The color1 themable color. |
SpreadThemableColor
color2
The color2 themable color. |
Properties
Color1
Gets the color1 themable color.
Declaration
public SpreadThemableColor Color1 { get; }
Property Value
SpreadThemableColor
The color1 themable color. |
Color2
Gets the color2 themable color.
Declaration
public SpreadThemableColor Color2 { get; }
Property Value
SpreadThemableColor
The color2 themable color. |
GradientType
Gets the type of the gradient.
Declaration
public SpreadGradientType GradientType { get; }
Property Value
SpreadGradientType
The type of the gradient. |
Methods
Equals(Object)
Determines whether the specified System.Object is equal to the current System.Object.
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
The System.Object to compare with the current System.Object. |
Returns
System.Boolean
Returns true if the specified System.Object is equal to the current System.Object; otherwise, false. |
Overrides
GetHashCode()
Serves as a hash function for a particular type.
Declaration
public override int GetHashCode()
Returns
System.Int32
A hash code for the current System.Object. |