ClassSpreadGradientFill
Class
Gradient cell fill defined by a gradient type and two theme or RGB colors.
Definition
Namespace:Telerik.Documents.SpreadsheetStreaming
Assembly:Telerik.Documents.SpreadsheetStreaming.dll
Syntax:
cs-api-definition
public class SpreadGradientFill : ISpreadFill
Inheritance: objectSpreadGradientFill
Implements:
Constructors
SpreadGradientFill(SpreadGradientType, SpreadThemableColor, SpreadThemableColor)
Initializes a new instance of the SpreadGradientFill class.
Declaration
cs-api-definition
public SpreadGradientFill(SpreadGradientType gradientType, SpreadThemableColor color1, SpreadThemableColor color2)
Parameters
gradientType
Type of the gradient.
color1
The color1 themable color.
color2
The color2 themable color.
Properties
Color1
Starting gradient color.
Declaration
cs-api-definition
public SpreadThemableColor Color1 { get; }
Property Value
The color1 themable color.
Color2
Ending gradient color.
Declaration
cs-api-definition
public SpreadThemableColor Color2 { get; }
Property Value
The color2 themable color.
GradientType
Gradient orientation or pattern.
Declaration
cs-api-definition
public SpreadGradientType GradientType { get; }
Property Value
The type of the gradient.
Methods
GetHashCode()
Serves as a hash function for a particular type.