igradient-ag凯发旗舰厅



com.spire.xls.core
interface igradient

all known implementing classes:
excelgradient

public interface igradient

interface used to get gradient xlsfill effects.


method summary
 int compareto(igradient gradient)
          compares with gradient.
 java.awt.color getbackcolor()
          represents background color.
 ocolor getbackcolorobject()
          represents background color.
 excelcolors getbackknowncolor()
          represents background color index.
 java.awt.color getforecolor()
          represents foreground color.
 ocolor getforecolorobject()
          represents foreground color.
 excelcolors getforeknowncolor()
          represents foreground color index.
 gradientstyletype getgradientstyle()
          represents gradient shading style.
 gradientvariantstype getgradientvariant()
          represents gradient shading variant.
 void setbackcolor(java.awt.color value)
          represents background color.
 void setbackknowncolor(excelcolors value)
          represents background color index.
 void setforecolor(java.awt.color value)
          represents foreground color.
 void setforeknowncolor(excelcolors value)
          represents foreground color index.
 void setgradientstyle(gradientstyletype value)
          represents gradient shading style.
 void setgradientvariant(gradientvariantstype value)
          represents gradient shading variant.
 void twocolorgradient()
          sets the specified xlsfill to a two-color gradient.
 void twocolorgradient(gradientstyletype style, gradientvariantstype variant)
          sets the specified xlsfill to a two-color gradient.
 
method detail

getbackcolorobject

ocolor getbackcolorobject()
represents background color.

getforecolorobject

ocolor getforecolorobject()
represents foreground color.

getbackcolor

java.awt.color getbackcolor()
represents background color.

setbackcolor

void setbackcolor(java.awt.color value)
represents background color.

getbackknowncolor

excelcolors getbackknowncolor()
represents background color index.

setbackknowncolor

void setbackknowncolor(excelcolors value)
represents background color index.

getforecolor

java.awt.color getforecolor()
represents foreground color.

setforecolor

void setforecolor(java.awt.color value)
represents foreground color.

getforeknowncolor

excelcolors getforeknowncolor()
represents foreground color index.

setforeknowncolor

void setforeknowncolor(excelcolors value)
represents foreground color index.

getgradientstyle

gradientstyletype getgradientstyle()
represents gradient shading style.

setgradientstyle

void setgradientstyle(gradientstyletype value)
represents gradient shading style.

getgradientvariant

gradientvariantstype getgradientvariant()
represents gradient shading variant.

setgradientvariant

void setgradientvariant(gradientvariantstype value)
represents gradient shading variant.

compareto

int compareto(igradient gradient)
compares with gradient.
parameters:
gradient - gradient to compare with.
returns:
zero if gradients are equal.

twocolorgradient

void twocolorgradient()
sets the specified xlsfill to a two-color gradient.

twocolorgradient

void twocolorgradient(gradientstyletype style,
                      gradientvariantstype variant)
sets the specified xlsfill to a two-color gradient.
parameters:
style - represents shading shading style.
variant - represents shading variant.


网站地图