public interface Gradient extends Fill
The following features are supported:
| 限定符和类型 | 方法和说明 |
|---|---|
Gradient |
copyInstance() |
double |
getDirection()
Returns the value of the 'Direction' attribute.
|
ColorDefinition |
getEndColor()
Returns the value of the 'End Color' containment reference.
|
ColorDefinition |
getStartColor()
Returns the value of the 'Start Color' containment reference.
|
int |
getTransparency()
Returns the value of the 'Transparency' attribute.
|
boolean |
isCyclic()
Returns the value of the 'Cyclic' attribute
|
boolean |
isSetCyclic()
Returns whether the value of the '
Cyclic' attribute is set.
|
boolean |
isSetDirection()
Returns whether the value of the '
Direction' attribute is set.
|
boolean |
isSetTransparency()
Returns whether the value of the '
Transparency' attribute is set |
void |
setCyclic(boolean value)
Sets the value of the '
Cyclic' attribute |
void |
setDirection(double value)
Sets the value of the '
Direction' attribute |
void |
setEndColor(ColorDefinition value)
Sets the value of the '
End Color' containment reference |
void |
setStartColor(ColorDefinition value)
Sets the value of the '
Start Color' containment reference |
void |
setTransparency(int value)
Sets the value of the '
Transparency' attribute.
|
void |
unsetCyclic()
Unsets the value of the '
Cyclic' attribute |
void |
unsetDirection()
Unsets the value of the '
Direction' attribute |
void |
unsetTransparency()
Unsets the value of the '
Transparency' attribute.
|
ColorDefinition getStartColor()
setStartColor(ColorDefinition),
AttributePackage.getGradient_StartColor()void setStartColor(ColorDefinition value)
Start Color' containment reference.
Sets the start color of the gradient. value - the new value of the 'Start Color' containment reference.getStartColor()ColorDefinition getEndColor()
setEndColor(ColorDefinition),
AttributePackage.getGradient_EndColor()void setEndColor(ColorDefinition value)
End Color' containment reference.
Sets the end color of the gradient. value - the new value of the 'End Color' containment reference.getEndColor()double getDirection()
isSetDirection(),
unsetDirection(),
setDirection(double),
AttributePackage.getGradient_Direction()void setDirection(double value)
Direction' attribute.
Sets the angle of the gradient. value - the new value of the 'Direction' attribute.isSetDirection(),
unsetDirection(),
getDirection()void unsetDirection()
Direction' attribute.
boolean isSetDirection()
Direction' attribute is set. unsetDirection(),
getDirection(),
setDirection(double)boolean isCyclic()
isSetCyclic(),
unsetCyclic(),
setCyclic(boolean),
AttributePackage.getGradient_Cyclic()void setCyclic(boolean value)
Cyclic' attribute.
value - the new value of the 'Cyclic' attribute.isSetCyclic(),
unsetCyclic(),
isCyclic()void unsetCyclic()
Cyclic' attribute.
boolean isSetCyclic()
Cyclic' attribute is set. unsetCyclic(),
isCyclic(),
setCyclic(boolean)int getTransparency()
isSetTransparency(),
unsetTransparency(),
setTransparency(int),
AttributePackage.getGradient_Transparency()void setTransparency(int value)
Transparency' attribute. Sets the transparency for the gradient. value - the new value of the 'Transparency' attribute.isSetTransparency(),
unsetTransparency(),
getTransparency()void unsetTransparency()
Transparency' attribute. boolean isSetTransparency()
Transparency' attribute is set.
unsetTransparency(),
getTransparency(),
setTransparency(int)Gradient copyInstance()
copyInstance 在接口中 FillcopyInstance 在接口中 IChartObjectCopyright © 2005-2008 Actuate Corp. All rights reserved.