com.aspose.cells
Class TwoColorGradient

java.lang.Object
    extended by com.aspose.cells.TwoColorGradient

public class TwoColorGradient 
extends java.lang.Object

Represents two color gradient.


Constructor Summary
TwoColorGradient(com.aspose.cells.Color color1, com.aspose.cells.Color color2, int gradientStyleType, int variant)
          
 
Property Getters/Setters Summary
com.aspose.cells.ColorgetColor1()
voidsetColor1(com.aspose.cells.Color)
           Gets and sets the first gradient color.
com.aspose.cells.ColorgetColor2()
voidsetColor2(com.aspose.cells.Color)
           Gets and sets the second gradient color.
intgetGradientStyleType()
voidsetGradientStyleType(int)
           Gets and sets gradient shading style. The value of the property is GradientStyleType integer constant.
intgetVariant()
voidsetVariant(int)
           Gets and sets the gradient variant.
 

Constructor Detail

TwoColorGradient

public TwoColorGradient(com.aspose.cells.Color color1, com.aspose.cells.Color color2, int gradientStyleType, int variant)
Parameters:
color1 -
color2 -
gradientStyleType - A GradientStyleType value.
variant -

Property Getters/Setters Detail

getColor1/setColor1

public com.aspose.cells.Color getColor1() / public void setColor1(com.aspose.cells.Color value)
Gets and sets the first gradient color.

setColor1

public void setColor1(com.aspose.cells.Color value)
Gets and sets the first gradient color.

getColor2/setColor2

public com.aspose.cells.Color getColor2() / public void setColor2(com.aspose.cells.Color value)
Gets and sets the second gradient color.

setColor2

public void setColor2(com.aspose.cells.Color value)
Gets and sets the second gradient color.

getGradientStyleType/setGradientStyleType

public int getGradientStyleType() / public void setGradientStyleType(int value)
Gets and sets gradient shading style. The value of the property is GradientStyleType integer constant.

setGradientStyleType

public void setGradientStyleType(int value)
Gets and sets gradient shading style. The value of the property is GradientStyleType integer constant.

getVariant/setVariant

public int getVariant() / public void setVariant(int value)
Gets and sets the gradient variant.

setVariant

public void setVariant(int value)
Gets and sets the gradient variant.

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.