ishapefill-ag凯发旗舰厅



com.spire.xls.core
interface ishapefill

all known implementing classes:
xlschartfill, xlsshapefill

public interface ishapefill

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.
 excelcolors getbackknowncolor()
          represents background color index.
 shapefilltype getfilltype()
          represents shape xlsfill type.
 java.awt.color getforecolor()
          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)
 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 setfilltype(shapefilltype filltype)
          sets shape xls fill type.
 void setforecolor(java.awt.color forecolor)
          sets 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 transparency)
          sets the transparency level of the specified solid color shaded xls fill 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 visible)
          sets whether the style of xls is 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.
 
method detail

getfilltype

shapefilltype getfilltype()
represents shape xlsfill type.

setfilltype

void setfilltype(shapefilltype filltype)
sets shape xls fill type.

getgradientstyle

gradientstyletype getgradientstyle()
represents gradient shading style.

setgradientstyle

void setgradientstyle(gradientstyletype value)
represents gradient shading style.

getgradientvariant

gradientvariantstype getgradientvariant()
represents current shading variant.

setgradientvariant

void setgradientvariant(gradientvariantstype value)
represents current shading variant.

gettransparencyto

double gettransparencyto()
returns or sets the degree of transparency of the specified xlsfill as a value from 0.0 (opaque) through 1.0 (clear).

settransparencyto

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).

gettransparencyfrom

double gettransparencyfrom()
returns or sets the degree of transparency of the specified xlsfill as a value from 0.0 (opaque) through 1.0 (clear).

settransparencyfrom

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).

getgradientcolortype

gradientcolortype getgradientcolortype()
represents gradient style.

setgradientcolortype

void setgradientcolortype(gradientcolortype value)
represents gradient style.

getpattern

gradientpatterntype getpattern()
represents gradient pattern

setpattern

void setpattern(gradientpatterntype value)
represents gradient pattern

gettexture

gradienttexturetype gettexture()
represents gradient texture

settexture

void settexture(gradienttexturetype value)
represents gradient texture

getbackknowncolor

excelcolors getbackknowncolor()
represents background color index.

getforeknowncolor

excelcolors getforeknowncolor()
represents foreground color index.

setforeknowncolor

void setforeknowncolor(excelcolors value)
represents foreground color index.

getbackcolor

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

setbackcolor

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

getforecolor

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

setforecolor

void setforecolor(java.awt.color forecolor)
sets foreground color.

getpresetgradienttype

gradientpresettype getpresetgradienttype()
represents presed gradient type.

setpresetgradienttype

void setpresetgradienttype(gradientpresettype value)
represents presed gradient type.

getpicture

java.awt.image.bufferedimage getpicture()
represents user defined picture or textture. read only.

getpicturename

java.lang.string getpicturename()
returns user defined picture of texture name. read only.

getvisible

boolean getvisible()
represents if xlsfill style visible.

setvisible

void setvisible(boolean visible)
sets whether the style of xls is visible.

getgradientdegree

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)

setgradientdegree

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)

gettransparency

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)

settransparency

void settransparency(double transparency)
sets the transparency level of the specified solid color shaded xls fill as a floating-point value from 0.0 (clear) through 1.0(opaque)

getpicstretch

picstretch getpicstretch()
gets or sets pictrue format option.

setpicstretch

void setpicstretch(picstretch value)
gets or sets pictrue format option.

gettile

boolean gettile()
represents whether picture is tiled or stretched.

settile

void settile(boolean value)
represents whether picture is tiled or stretched.

custompicture

void custompicture(java.lang.string path)
sets user defined picture.
parameters:
path - path to image.

custompicture

void custompicture(java.awt.image.bufferedimage im,
                   java.lang.string name)
sets user defined picture.
parameters:
im - represents user defined image.
name - represents name of user defined image.

customtexture

void customtexture(java.lang.string path)
sets user defined texture.
parameters:
path - path to image.

customtexture

void customtexture(java.awt.image.bufferedimage im,
                   java.lang.string name)
sets user defined texture.
parameters:
im - represents user defined texture.
name - represents name of user defined texture.

patterned

void patterned(gradientpatterntype pattern)
sets the specified xlsfill to a pattern.
parameters:
pattern - pattern to set.

presetgradient

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

presetgradient

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

presetgradient

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

presettextured

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

twocolorgradient

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

twocolorgradient

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

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.

onecolorgradient

void onecolorgradient()
sets the specified xlsfill to a one-color gradient.

onecolorgradient

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

onecolorgradient

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

solid

void solid()
sets the specified xlsfill to a uniform color.


网站地图