xlschartfill-ag凯发旗舰厅



com.spire.xls.core.spreadsheet.charts
class xlschartfill

java.lang.object
  extended by com.spire.xls.core.spreadsheet.xlsobject
      extended by com.spire.xls.core.spreadsheet.charts.xlschartfill
all implemented interfaces:
ishapefill

public class xlschartfill
extends xlsobject
implements ishapefill

constructor summary
xlschartfill(java.lang.object parent)
           
 
method summary
 void custompicture(java.awt.image.bufferedimage im, java.lang.string name)
          sets user defined picture.
 void custompicture(java.lang.string path)
          sets user defined picture.
 void customtexture(java.awt.image.bufferedimage im, java.lang.string name)
          sets user defined texture.
 void customtexture(java.lang.string path)
          sets user defined texture.
 java.awt.color getbackcolor()
          represents background color.
 ocolor getbackcolorobject()
          represents background color.
 excelcolors getbackknowncolor()
          represents background color index.
 shapefilltype getfilltype()
          represents shape xlsfill type.
 java.awt.color getforecolor()
          represents foreground color.
 ocolor getforecolorobject()
          represents foreground color.
 excelcolors getforeknowncolor()
          represents foreground color index.
 gradientcolortype getgradientcolortype()
          represents gradient style.
 double getgradientdegree()
          returns the gradient degree of the specified one-color shaded xlsfill as a floating-point value from 0.0 (dark) through 1.0 (light)
 gradientstops getgradientstops()
           
 gradientstyletype getgradientstyle()
          represents gradient shading style.
 gradientvariantstype getgradientvariant()
          represents current shading variant.
 gradientpatterntype getpattern()
          represents gradient pattern
 picstretch getpicstretch()
          gets or sets pictrue format option.
 java.awt.image.bufferedimage getpicture()
          represents user defined picture or textture.
 java.lang.string getpicturename()
          returns user defined picture of texture name.
 gradientpresettype getpresetgradienttype()
          represents presed gradient type.
 gradienttexturetype gettexture()
          represents gradient texture
 boolean gettile()
          represents whether picture is tiled or stretched.
 double gettransparency()
          returns the transparency level of the specified solid color shaded xlsfill as a floating-point value from 0.0 (clear) through 1.0(opaque)
 double gettransparencyfrom()
          returns or sets the degree of transparency of the specified xlsfill as a value from 0.0 (opaque) through 1.0 (clear).
 double gettransparencyto()
          returns or sets the degree of transparency of the specified xlsfill as a value from 0.0 (opaque) through 1.0 (clear).
 boolean getvisible()
          represents if xlsfill style visible.
 void onecolorgradient()
          sets the specified xlsfill to a one-color gradient.
 void onecolorgradient(gradientstyletype style)
          sets the specified xlsfill to a one-color gradient.
 void onecolorgradient(gradientstyletype style, gradientvariantstype variant)
          sets the specified xlsfill to a one-color gradient.
 void patterned(gradientpatterntype pattern)
          sets the specified xlsfill to a pattern.
 void presetgradient(gradientpresettype grad)
          sets the specified xlsfill to a preset gradient.
 void presetgradient(gradientpresettype grad, gradientstyletype shadstyle)
          sets the specified xlsfill to a preset gradient.
 void presetgradient(gradientpresettype grad, gradientstyletype shadstyle, gradientvariantstype shadvar)
          sets the specified xlsfill to a preset gradient.
 void presettextured(gradienttexturetype texture)
          sets the specified xlsfill format to a preset texture.
 void setbackcolor(java.awt.color value)
          represents background color.
 void setbackknowncolor(excelcolors value)
          represents background color index.
 void setfilltype(shapefilltype value)
          represents shape xlsfill type.
 void setforecolor(java.awt.color value)
          represents foreground color.
 void setforeknowncolor(excelcolors value)
          represents foreground color index.
 void setgradientcolortype(gradientcolortype value)
          represents gradient style.
 void setgradientdegree(double value)
          returns the gradient degree of the specified one-color shaded xlsfill as a floating-point value from 0.0 (dark) through 1.0 (light)
 void setgradientstyle(gradientstyletype value)
          represents gradient shading style.
 void setgradientvariant(gradientvariantstype value)
          represents current shading variant.
 void setpattern(gradientpatterntype value)
          represents gradient pattern
 void setpicstretch(picstretch value)
          gets or sets pictrue format option.
 void setpresetgradienttype(gradientpresettype value)
          represents presed gradient type.
 void settexture(gradienttexturetype value)
          represents gradient texture
 void settile(boolean value)
          represents whether picture is tiled or stretched.
 void settransparency(double value)
          returns the transparency level of the specified solid color shaded xlsfill as a floating-point value from 0.0 (clear) through 1.0(opaque)
 void settransparencyfrom(double value)
          returns or sets the degree of transparency of the specified xlsfill as a value from 0.0 (opaque) through 1.0 (clear).
 void settransparencyto(double value)
          returns or sets the degree of transparency of the specified xlsfill as a value from 0.0 (opaque) through 1.0 (clear).
 void setvisible(boolean value)
          represents if xlsfill style visible.
 void solid()
          sets the specified xlsfill to a uniform color.
 void twocolorgradient()
          sets the specified xlsfill to a two-color gradient.
 void twocolorgradient(gradientstyletype style)
          sets the specified xlsfill to a two-color gradient.
 void twocolorgradient(gradientstyletype style, gradientvariantstype variant)
          sets the specified xlsfill to a two-color gradient.
 
methods inherited from class com.spire.xls.core.spreadsheet.xlsobject
dispose
 
constructor detail

xlschartfill

public xlschartfill(java.lang.object parent)
method detail

getgradientstops

public gradientstops getgradientstops()

getfilltype

public shapefilltype getfilltype()
represents shape xlsfill type.
specified by:
getfilltype in interface ishapefill

setfilltype

public void setfilltype(shapefilltype value)
represents shape xlsfill type.
specified by:
setfilltype in interface ishapefill

getgradientstyle

public gradientstyletype getgradientstyle()
represents gradient shading style.
specified by:
getgradientstyle in interface ishapefill

setgradientstyle

public void setgradientstyle(gradientstyletype value)
represents gradient shading style.
specified by:
setgradientstyle in interface ishapefill

getgradientvariant

public gradientvariantstype getgradientvariant()
represents current shading variant.
specified by:
getgradientvariant in interface ishapefill

setgradientvariant

public void setgradientvariant(gradientvariantstype value)
represents current shading variant.
specified by:
setgradientvariant in interface ishapefill

gettransparencyto

public double gettransparencyto()
returns or sets the degree of transparency of the specified xlsfill as a value from 0.0 (opaque) through 1.0 (clear).
specified by:
gettransparencyto in interface ishapefill

settransparencyto

public void settransparencyto(double value)
returns or sets the degree of transparency of the specified xlsfill as a value from 0.0 (opaque) through 1.0 (clear).
specified by:
settransparencyto in interface ishapefill

gettransparencyfrom

public double gettransparencyfrom()
returns or sets the degree of transparency of the specified xlsfill as a value from 0.0 (opaque) through 1.0 (clear).
specified by:
gettransparencyfrom in interface ishapefill

settransparencyfrom

public void settransparencyfrom(double value)
returns or sets the degree of transparency of the specified xlsfill as a value from 0.0 (opaque) through 1.0 (clear).
specified by:
settransparencyfrom in interface ishapefill

getgradientcolortype

public gradientcolortype getgradientcolortype()
represents gradient style.
specified by:
getgradientcolortype in interface ishapefill

setgradientcolortype

public void setgradientcolortype(gradientcolortype value)
represents gradient style.
specified by:
setgradientcolortype in interface ishapefill

getpattern

public gradientpatterntype getpattern()
represents gradient pattern
specified by:
getpattern in interface ishapefill

setpattern

public void setpattern(gradientpatterntype value)
represents gradient pattern
specified by:
setpattern in interface ishapefill

gettexture

public gradienttexturetype gettexture()
represents gradient texture
specified by:
gettexture in interface ishapefill

settexture

public void settexture(gradienttexturetype value)
represents gradient texture
specified by:
settexture in interface ishapefill

getbackcolorobject

public ocolor getbackcolorobject()
represents background color.

getforecolorobject

public ocolor getforecolorobject()
represents foreground color.

getbackknowncolor

public excelcolors getbackknowncolor()
represents background color index.
specified by:
getbackknowncolor in interface ishapefill

setbackknowncolor

public void setbackknowncolor(excelcolors value)
represents background color index.

getforeknowncolor

public excelcolors getforeknowncolor()
represents foreground color index.
specified by:
getforeknowncolor in interface ishapefill

setforeknowncolor

public void setforeknowncolor(excelcolors value)
represents foreground color index.
specified by:
setforeknowncolor in interface ishapefill

getbackcolor

public java.awt.color getbackcolor()
represents background color.
specified by:
getbackcolor in interface ishapefill

setbackcolor

public void setbackcolor(java.awt.color value)
represents background color.
specified by:
setbackcolor in interface ishapefill

getforecolor

public java.awt.color getforecolor()
represents foreground color.
specified by:
getforecolor in interface ishapefill

setforecolor

public void setforecolor(java.awt.color value)
represents foreground color.
specified by:
setforecolor in interface ishapefill

getpresetgradienttype

public gradientpresettype getpresetgradienttype()
represents presed gradient type.
specified by:
getpresetgradienttype in interface ishapefill

setpresetgradienttype

public void setpresetgradienttype(gradientpresettype value)
represents presed gradient type.
specified by:
setpresetgradienttype in interface ishapefill

getpicture

public java.awt.image.bufferedimage getpicture()
represents user defined picture or textture. read only.
specified by:
getpicture in interface ishapefill

getpicturename

public java.lang.string getpicturename()
returns user defined picture of texture name. read only.
specified by:
getpicturename in interface ishapefill

getvisible

public boolean getvisible()
represents if xlsfill style visible.
specified by:
getvisible in interface ishapefill

setvisible

public void setvisible(boolean value)
represents if xlsfill style visible.
specified by:
setvisible in interface ishapefill

getgradientdegree

public double getgradientdegree()
returns the gradient degree of the specified one-color shaded xlsfill as a floating-point value from 0.0 (dark) through 1.0 (light)
specified by:
getgradientdegree in interface ishapefill

setgradientdegree

public void setgradientdegree(double value)
returns the gradient degree of the specified one-color shaded xlsfill as a floating-point value from 0.0 (dark) through 1.0 (light)
specified by:
setgradientdegree in interface ishapefill

gettransparency

public double gettransparency()
returns the transparency level of the specified solid color shaded xlsfill as a floating-point value from 0.0 (clear) through 1.0(opaque)
specified by:
gettransparency in interface ishapefill

settransparency

public void settransparency(double value)
returns the transparency level of the specified solid color shaded xlsfill as a floating-point value from 0.0 (clear) through 1.0(opaque)
specified by:
settransparency in interface ishapefill

custompicture

public void custompicture(java.lang.string path)
sets user defined picture.
specified by:
custompicture in interface ishapefill
parameters:
path - path to image.

custompicture

public void custompicture(java.awt.image.bufferedimage im,
                          java.lang.string name)
sets user defined picture.
specified by:
custompicture in interface ishapefill
parameters:
im - represents user defined image.
name - represents name of user defined image.

customtexture

public void customtexture(java.lang.string path)
sets user defined texture.
specified by:
customtexture in interface ishapefill
parameters:
path - path to image.

customtexture

public void customtexture(java.awt.image.bufferedimage im,
                          java.lang.string name)
sets user defined texture.
specified by:
customtexture in interface ishapefill
parameters:
im - represents user defined texture.
name - represents name of user defined texture.

patterned

public void patterned(gradientpatterntype pattern)
sets the specified xlsfill to a pattern.
specified by:
patterned in interface ishapefill
parameters:
pattern - pattern to set.

presetgradient

public void presetgradient(gradientpresettype grad)
sets the specified xlsfill to a preset gradient.
specified by:
presetgradient in interface ishapefill
parameters:
grad - represents preset gradient type.

presetgradient

public void presetgradient(gradientpresettype grad,
                           gradientstyletype shadstyle)
sets the specified xlsfill to a preset gradient.
specified by:
presetgradient in interface ishapefill
parameters:
grad - represents preset gradient type.
shadstyle - represents gradient style, for preset gradient.

presetgradient

public void presetgradient(gradientpresettype grad,
                           gradientstyletype shadstyle,
                           gradientvariantstype shadvar)
sets the specified xlsfill to a preset gradient.
specified by:
presetgradient in interface ishapefill
parameters:
grad - represents preset gradient type.
shadstyle - represents gradient style, for preset gradient.
shadvar - represents gradient variant for preset gradient.

presettextured

public void presettextured(gradienttexturetype texture)
sets the specified xlsfill format to a preset texture.
specified by:
presettextured in interface ishapefill
parameters:
texture - represents texture to set.

twocolorgradient

public void twocolorgradient()
sets the specified xlsfill to a two-color gradient.
specified by:
twocolorgradient in interface ishapefill

twocolorgradient

public void twocolorgradient(gradientstyletype style)
sets the specified xlsfill to a two-color gradient.
specified by:
twocolorgradient in interface ishapefill
parameters:
style - represents shading shading style.

twocolorgradient

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

onecolorgradient

public void onecolorgradient()
sets the specified xlsfill to a one-color gradient.
specified by:
onecolorgradient in interface ishapefill

onecolorgradient

public void onecolorgradient(gradientstyletype style)
sets the specified xlsfill to a one-color gradient.
specified by:
onecolorgradient in interface ishapefill
parameters:
style - represents shading shading style.

onecolorgradient

public void onecolorgradient(gradientstyletype style,
                             gradientvariantstype variant)
sets the specified xlsfill to a one-color gradient.
specified by:
onecolorgradient in interface ishapefill
parameters:
style - represents shading shading style.
variant - represents shading variant.

solid

public void solid()
sets the specified xlsfill to a uniform color.
specified by:
solid in interface ishapefill

getpicstretch

public picstretch getpicstretch()
gets or sets pictrue format option.
specified by:
getpicstretch in interface ishapefill

setpicstretch

public void setpicstretch(picstretch value)
gets or sets pictrue format option.
specified by:
setpicstretch in interface ishapefill

gettile

public boolean gettile()
represents whether picture is tiled or stretched.
specified by:
gettile in interface ishapefill

settile

public void settile(boolean value)
represents whether picture is tiled or stretched.
specified by:
settile in interface ishapefill


网站地图