![]() |
||
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.Fill
com.aspose.cells.GradientFill
public class GradientFill
Fill format settings for GRADIENT type
Constructor Summary | |
---|---|
GradientFill()
|
Method Summary | |
---|---|
java.lang.Object |
clone()
|
boolean |
equals(java.lang.Object another)
|
Color |
getColor1()
Gets the gradient color 1. |
Color |
getColor2()
Gets the gradient color 2. |
byte |
getGradientColorType()
Gets the gradient color type for the specified fill. |
float |
getGradientDegree()
Gets the gradient degree for the the specified fill. |
float |
getGradientFillAngle()
Gets the angle for linear type Gradient fill, in degrees. |
GradientStops |
getGradientStops()
Gets the gradient stops collection. |
byte |
getGradientStyle()
Gets the gradient style for the specified fill. |
byte |
getGradientType()
Gets gradient type. |
int |
getGradientVariant()
Gets the gradient variant for the the specified fill. |
short |
getPresetColor()
Gets the gradient preset color. |
void |
setColor1(Color color1)
Sets the gradient color 1. |
void |
setColor2(Color color2)
Sets the gradient color 2. |
void |
setDirection(byte direction)
Sets direction type for Gradient 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 |
setGradientFillAngle(float degrees)
Sets the angle for linear type Gradient fill. |
void |
setGradientStyle(byte gradientStyle)
Sets the gradient style for the specified fill. |
void |
setGradientType(byte type)
Sets gradient type. |
void |
setGradientVariant(byte gradientVariant)
Sets the gradient variant for the the specified fill. |
void |
setPresetColor(short presetColor)
Sets the gradient preset color. |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GradientFill()
Method Detail |
---|
public java.lang.Object clone()
clone
in class Fill
public boolean equals(java.lang.Object another)
equals
in class java.lang.Object
public short getPresetColor()
GradientPresetType
public void setPresetColor(short presetColor)
presetColor
- the gradient preset color.GradientPresetType
public byte getGradientType()
GradientFillType
public void setGradientType(byte type)
type
- gradient type.GradientFillType
public void setDirection(byte direction)
direction
- GradientDirectionType
public float getGradientFillAngle()
setGradientFillAngle(float)
public void setGradientFillAngle(float degrees)
degrees
- angle in degrees. Can only be value between 0(inclusive) and 360(exclusive).public GradientStops getGradientStops()
public Color getColor1()
public void setColor1(Color color1)
color1
- color 1 for gradient.public Color getColor2()
public void setColor2(Color color2)
color2
- color 2 for gradient.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 GradientColorTypeGradientColorType
public 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.GradientStyleType
public int getGradientVariant()
public void setGradientVariant(byte gradientVariant)
gradientVariant
- the gradient variant.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |