asposecells.api

Class TwoColorGradient

Represents two color gradient.

Constructor Summary
TwoColorGradient(color1, color2, gradientStyleType, variant)
 
Property Getters/Setters Summary
methodgetColor1()
method
setColor1(value)
           Gets and sets the first gradient color.
methodgetColor2()
method
setColor2(value)
           Gets and sets the second gradient color.
methodgetGradientStyleType()
method
           Gets and sets gradient shading style. The value of the property is GradientStyleType integer constant.
methodgetVariant()
method
setVariant(value)
           Gets and sets the gradient variant.
 

    • Constructor Detail

      • TwoColorGradient

        TwoColorGradient(color1, color2, gradientStyleType, variant)
        Parameters:
        color1: Color -
        color2: Color -
        gradientStyleType: int - A GradientStyleType value.
        variant: int -
    • Property Getters/Setters Detail

      • getColor1/setColor1 : Color 

        Color getColor1() / setColor1(value)
        
        Gets and sets the first gradient color.
      • getColor2/setColor2 : Color 

        Color getColor2() / setColor2(value)
        
        Gets and sets the second gradient color.
      • getGradientStyleType/setGradientStyleType : int 

        int getGradientStyleType() / setGradientStyleType(value)
        
        Gets and sets gradient shading style. The value of the property is GradientStyleType integer constant.
      • getVariant/setVariant : int 

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