|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |
java.lang.objectcom.spire.xls.core.spreadsheet.xlsobject
com.spire.xls.core.spreadsheet.shapes.xlsshapefill
public class xlsshapefill
represents xlsfill format in shape object.
constructor summary | |
---|---|
xlsshapefill(java.lang.object parent)
|
|
xlsshapefill(java.lang.object parent,
xlsshape innershape)
|
method summary | |
---|---|
int |
compareto(igradient twin)
compares with shape xlsfill impl. |
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()
returns collection of gradient stops that stores gradient xlsfill settings. |
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. |
|
getpictile()
gets or sets tile picture 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 (opaque) through 1.0(transparent) |
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. |
static boolean |
isdoubled(gradientstyletype gradientstyle,
gradientvariantstype variant)
detects whether color sequence should be doubled or not. |
static boolean |
isinverted(gradientstyletype gradientstyle,
gradientvariantstype variant)
returns true if colors should be placed in inverted order. |
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 |
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 (opaque) through 1.0(transparent) |
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 |
methods inherited from interface com.spire.xls.core.ishapefill |
---|
setpicstretch |
constructor detail |
---|
public xlsshapefill(java.lang.object parent)
public xlsshapefill(java.lang.object parent, xlsshape innershape)
method detail |
---|
public gradientstops getgradientstops()
public shapefilltype getfilltype()
getfilltype
in interface ishapefill
public void setfilltype(shapefilltype value)
setfilltype
in interface ishapefill
public gradientstyletype getgradientstyle()
getgradientstyle
in interface ishapefill
public void setgradientstyle(gradientstyletype value)
setgradientstyle
in interface ishapefill
public gradientvariantstype getgradientvariant()
getgradientvariant
in interface ishapefill
public void setgradientvariant(gradientvariantstype value)
setgradientvariant
in interface ishapefill
public double gettransparency()
gettransparency
in interface ishapefill
public void settransparency(double value)
settransparency
in interface ishapefill
public double gettransparencyfrom()
gettransparencyfrom
in interface ishapefill
public void settransparencyfrom(double value)
settransparencyfrom
in interface ishapefill
public double gettransparencyto()
gettransparencyto
in interface ishapefill
public void settransparencyto(double value)
settransparencyto
in interface ishapefill
public boolean getvisible()
getvisible
in interface ishapefill
public void setvisible(boolean value)
setvisible
in interface ishapefill
public excelcolors getbackknowncolor()
getbackknowncolor
in interface ishapefill
public void setbackknowncolor(excelcolors value)
public excelcolors getforeknowncolor()
getforeknowncolor
in interface ishapefill
public void setforeknowncolor(excelcolors value)
setforeknowncolor
in interface ishapefill
public java.awt.color getbackcolor()
getbackcolor
in interface ishapefill
public void setbackcolor(java.awt.color value)
setbackcolor
in interface ishapefill
public java.awt.color getforecolor()
getforecolor
in interface ishapefill
public void setforecolor(java.awt.color value)
setforecolor
in interface ishapefill
public ocolor getbackcolorobject()
public ocolor getforecolorobject()
public gradientcolortype getgradientcolortype()
getgradientcolortype
in interface ishapefill
public void setgradientcolortype(gradientcolortype value)
setgradientcolortype
in interface ishapefill
public gradienttexturetype gettexture()
gettexture
in interface ishapefill
public void settexture(gradienttexturetype value)
settexture
in interface ishapefill
public gradientpatterntype getpattern()
getpattern
in interface ishapefill
public void setpattern(gradientpatterntype value)
setpattern
in interface ishapefill
public gradientpresettype getpresetgradienttype()
getpresetgradienttype
in interface ishapefill
public void setpresetgradienttype(gradientpresettype value)
setpresetgradienttype
in interface ishapefill
public java.awt.image.bufferedimage getpicture()
getpicture
in interface ishapefill
public java.lang.string getpicturename()
getpicturename
in interface ishapefill
public double getgradientdegree()
getgradientdegree
in interface ishapefill
public void setgradientdegree(double value)
setgradientdegree
in interface ishapefill
public boolean gettile()
gettile
in interface ishapefill
public void settile(boolean value)
settile
in interface ishapefill
public picstretch getpicstretch()
getpicstretch
in interface ishapefill
public getpictile()
public static boolean isdoubled(gradientstyletype gradientstyle, gradientvariantstype variant)
gradientstyle
- gradient style.variant
- gradient variant.
public static boolean isinverted(gradientstyletype gradientstyle, gradientvariantstype variant)
gradientstyle
- gradient style.variant
- gradient variant.
public int compareto(igradient twin)
twin
- shape xlsfill to compare with.
public void custompicture(java.lang.string path)
custompicture
in interface ishapefill
path
- path to image.public void custompicture(java.awt.image.bufferedimage im, java.lang.string name)
custompicture
in interface ishapefill
im
- represents user defined image.name
- represents name of user defined image.public void customtexture(java.lang.string path)
customtexture
in interface ishapefill
path
- path to image.public void customtexture(java.awt.image.bufferedimage im, java.lang.string name)
customtexture
in interface ishapefill
im
- represents user defined texture.name
- represents name of user defined texture.public void patterned(gradientpatterntype pattern)
patterned
in interface ishapefill
pattern
- pattern to set.public void presetgradient(gradientpresettype grad)
presetgradient
in interface ishapefill
grad
- represents preset gradient type.public void presetgradient(gradientpresettype grad, gradientstyletype shadstyle)
presetgradient
in interface ishapefill
grad
- represents preset gradient type.shadstyle
- represents gradient style, for preset gradient.public void presetgradient(gradientpresettype grad, gradientstyletype shadstyle, gradientvariantstype shadvar)
presetgradient
in interface ishapefill
grad
- represents preset gradient type.shadstyle
- represents gradient style, for preset gradient.shadvar
- represents gradient variant for preset gradient.public void presettextured(gradienttexturetype texture)
presettextured
in interface ishapefill
texture
- represents texture to set.public void twocolorgradient()
twocolorgradient
in interface ishapefill
public void twocolorgradient(gradientstyletype style)
twocolorgradient
in interface ishapefill
style
- represents shading shading style.public void twocolorgradient(gradientstyletype style, gradientvariantstype variant)
twocolorgradient
in interface ishapefill
style
- represents shading shading style.variant
- represents shading variant.public void onecolorgradient()
onecolorgradient
in interface ishapefill
public void onecolorgradient(gradientstyletype style)
onecolorgradient
in interface ishapefill
style
- represents shading shading style.public void onecolorgradient(gradientstyletype style, gradientvariantstype variant)
onecolorgradient
in interface ishapefill
style
- represents shading shading style.variant
- represents shading variant.public void solid()
solid
in interface ishapefill
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |