Show / Hide Table of Contents

Class GradientCellFill

Gradient fill used to draw the background of a cell

Inheritance
System.Object
GradientCellFill
Namespace: DRIT.Spreadsheet
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
Type Name Description
GradientType gradientType
System.Double degree
SpreadsheetColor[] stopColors

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
Type Description
GradientType

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
Type Description
List<GradientStop>

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
Type Description
GradientCellFill

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
Back to top Generated by DocFX