Class TwoColorGradient
Class TwoColorGradient
Namespace: Aspose.Cells
Assembly: Aspose.Cells.dll (25.2.0)
Represents two color gradient.
public class TwoColorGradient
Inheritance
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
TwoColorGradient(Color, Color, GradientStyleType, int)
public TwoColorGradient(Color color1, Color color2, GradientStyleType gradientStyleType, int variant)
Parameters
color1
Color
color2
Color
gradientStyleType
GradientStyleType
variant
int
Properties
Color1
Gets and sets the first gradient color.
public Color Color1 { get; set; }
Property Value
Color2
Gets and sets the second gradient color.
public Color Color2 { get; set; }
Property Value
GradientStyleType
Gets and sets gradient shading style.
public GradientStyleType GradientStyleType { get; set; }
Property Value
Variant
Gets and sets the gradient variant.
public int Variant { get; set; }