Class GradientCellFill
Gradient fill used to draw the background of a cell
Inheritance
System.Object
GradientCellFill
Assembly: DRIT.Spreadsheet.dll
Syntax
public class GradientCellFill : object
Constructors
GradientCellFill()
Declaration
public GradientCellFill()
GradientCellFill(GradientType, Double, Color[])
Declaration
public GradientCellFill(GradientType gradientType, double degree, params Color[] stopColors)
Parameters
Type |
Name |
Description |
GradientType |
gradientType |
|
System.Double |
degree |
|
Color[] |
stopColors |
|
GradientCellFill(GradientType, Double, SpreadsheetColor[])
Declaration
public GradientCellFill(GradientType gradientType, double degree, params SpreadsheetColor[] stopColors)
Parameters
Properties
Bottom
Declaration
public double Bottom { get; set; }
Property Value
Type |
Description |
System.Double |
|
Degree
Declaration
public double Degree { get; set; }
Property Value
Type |
Description |
System.Double |
|
GradientType
Declaration
public GradientType GradientType { get; set; }
Property Value
Left
Declaration
public double Left { get; set; }
Property Value
Type |
Description |
System.Double |
|
Right
Declaration
public double Right { get; set; }
Property Value
Type |
Description |
System.Double |
|
Stops
Declaration
public List<GradientStop> Stops { get; }
Property Value
Top
Declaration
public double Top { get; set; }
Property Value
Type |
Description |
System.Double |
|
Methods
CreateRectangularGradientFill(Double, Double, Double, Double, Color[])
Declaration
public static GradientCellFill CreateRectangularGradientFill(double left, double right, double top, double bottom, params Color[] stopColors)
Parameters
Type |
Name |
Description |
System.Double |
left |
|
System.Double |
right |
|
System.Double |
top |
|
System.Double |
bottom |
|
Color[] |
stopColors |
|
Returns
Equals(Object)
Declaration
public override bool Equals(object fill)
Parameters
Type |
Name |
Description |
System.Object |
fill |
|
Returns
Type |
Description |
System.Boolean |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|