Table of Contents

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

int

FillToRect

public Rectangle FillToRect { get; set; }

Property Value

Rectangle

GradientType

public GradientType GradientType { get; set; }

Property Value

GradientType

IsDoubled

public bool IsDoubled { get; }

Property Value

bool

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

color Color
position int
transparency int
tint int
shade int

Returns

XlsGradientStop

Clone()

public GradientStops Clone()

Returns

GradientStops

DoubleGradientStops()

public void DoubleGradientStops()

InvertGradientStops()

public void InvertGradientStops()

Serialize(Stream)

public void Serialize(Stream stream)

Parameters

stream Stream

ShrinkGradientStops()

public GradientStops ShrinkGradientStops()

Returns

GradientStops