Class GradientStops
- Namespace
- Spire.Xls.Core.Spreadsheet.Shapes
- Assembly
- Spire.XLS.dll
public class GradientStops : List<XlsGradientStop>, IList<XlsGradientStop>, ICollection<XlsGradientStop>, IList, ICollection, IReadOnlyList<XlsGradientStop>, IReadOnlyCollection<XlsGradientStop>, IEnumerable<XlsGradientStop>, IEnumerable
- Inheritance
-
GradientStops
- Implements
- Inherited Members
Constructors
GradientStops()
public GradientStops()
Properties
Angle
public int Angle { get; set; }
Property Value
FillToRect
public Rectangle FillToRect { get; set; }
Property Value
GradientType
public GradientType GradientType { get; set; }
Property Value
IsDoubled
public bool IsDoubled { get; }
Property Value
Methods
Add(XlsGradientStop)
public void Add(XlsGradientStop stop)
Parameters
stop
XlsGradientStop
Add(Color, int, int, int, int)
public XlsGradientStop Add(Color color, int position, int transparency, int tint, int shade)
Parameters
Returns
Clone()
public GradientStops Clone()
Returns
DoubleGradientStops()
public void DoubleGradientStops()
InvertGradientStops()
public void InvertGradientStops()
Serialize(Stream)
public void Serialize(Stream stream)
Parameters
stream
Stream
ShrinkGradientStops()
public GradientStops ShrinkGradientStops()