|
||
| Home Products Purchase Downloads Demos Forums Blogs Ticket Wiki API Corporate | ||
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.aspose.cells.FillFormat
public class FillFormat
Encapsulates the object that represents fill formatting for a shape
| Method Summary | |
|---|---|
Color |
getColor1()
Gets the gradient color 1 or the pattern foreground color for the the specified fill. |
Color |
getColor2()
Gets the gradient color 2 or the pattern foreground color for the the specified fill. |
byte |
getGradientColorType()
Gets the gradient color type for the specified fill. |
float |
getGradientDegree()
Gets the gradient degree for the the specified fill. |
byte |
getGradientStyle()
Gets the gradient style for the specified fill. |
int |
getGradientVariant()
Gets the gradient variant for the the specified fill. |
short |
getPattern()
Gets an area's display pattern. |
short |
getPresetColor()
Gets the gradient preset color for the the specified fill. |
void |
setColor1(Color color1)
Sets the gradient color 1 or the pattern foreground color for the the specified fill. |
void |
setColor2(Color color2)
Sets the gradient color 2 or the pattern foreground color for the the specified fill. |
void |
setGradientColorType(byte gradientColorType)
Sets the gradient color type for the specified fill. |
void |
setGradientDegree(float gradientDegree)
Sets the gradient degree for the the specified fill. |
void |
setGradientStyle(byte gradientStyle)
Sets the gradient style for the specified fill. |
void |
setGradientVariant(int gradientVariant)
Sets the gradient variant for the the specified fill. |
void |
setPattern(short pattern)
Sets an area's display pattern. |
void |
setPresetColor(short presetColor)
Sets the gradient preset color for the the specified fill. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Color getColor1()
public void setColor1(Color color1)
color1 - the gradient color 1 or the pattern foreground color.public Color getColor2()
public void setColor2(Color color2)
color2 - the gradient color 2 or the pattern foreground color.public byte getGradientColorType()
setGradientColorType(byte)public void setGradientColorType(byte gradientColorType)
gradientColorType - the gradient color type.
java.lang.IllegalArgumentException - if gradientColorType is not a const member of GradientColorTypeGradientColorTypepublic float getGradientDegree()
public void setGradientDegree(float gradientDegree)
gradientDegree - the gradient degree.Can only be a value from 0.0 (dark) through 1.0 (light).
java.lang.IllegalArgumentException - if gradientDegree is not between 0.0 (dark) and 1.0 (light).public byte getGradientStyle()
setGradientStyle(byte)public void setGradientStyle(byte gradientStyle)
gradientStyle - the gradient style.
java.lang.IllegalArgumentException - if gradientStyle is not a const member of GradientStyleType.GradientStyleTypepublic int getGradientVariant()
public void setGradientVariant(int gradientVariant)
gradientVariant - the gradient variant.public short getPattern()
setPattern(short)public void setPattern(short pattern)
pattern - an area's display pattern.FillPatternTypepublic short getPresetColor()
public void setPresetColor(short presetColor)
presetColor - the gradient preset color.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||