public interface ColorDefinition extends Fill
The following features are supported:
AttributePackage.getColorDefinition()
Modifier and Type | Method and Description |
---|---|
ColorDefinition |
brighter()
NOTE: Manually written
|
ColorDefinition |
copyInstance() |
ColorDefinition |
darker()
NOTE: Manually written
|
int |
getBlue()
Returns the value of the 'Blue' attribute.
|
int |
getGreen()
Returns the value of the 'Green' attribute.
|
int |
getRed()
Returns the value of the 'Red' attribute.
|
int |
getTransparency()
Returns the value of the 'Transparency' attribute.
|
void |
invert()
Inverts the existing color (XORed with 0xFF).
|
boolean |
isSetBlue()
Returns whether the value of the '
Blue ' attribute is set. |
boolean |
isSetGreen()
Returns whether the value of the '
Green ' attribute is set. |
boolean |
isSetRed()
Returns whether the value of the '
Red ' attribute is set. |
boolean |
isSetTransparency()
Returns whether the value of the '
Transparency ' attribute is set. |
ColorDefinition |
opaque()
NOTE: Manually written
|
void |
set(int iRed,
int iGreen,
int iBlue)
Convenience method to set all three components for the color.
|
void |
set(int iRed,
int iGreen,
int iBlue,
int iAlpha)
Convenience method to set the three components as well as transparency
for the color.
|
void |
setBlue(int value)
Sets the value of the '
Blue ' attribute. |
void |
setGreen(int value)
Sets the value of the '
Green ' attribute. |
void |
setRed(int value)
Sets the value of the '
Red ' attribute. |
void |
setTransparency(int value)
Sets the value of the '
Transparency ' attribute. |
ColorDefinition |
translucent()
NOTE: Manually written
|
ColorDefinition |
transparent()
NOTE: Manually written
|
void |
unsetBlue()
Unsets the value of the '
Blue ' attribute. |
void |
unsetGreen()
Unsets the value of the '
Green ' attribute. |
void |
unsetRed()
Unsets the value of the '
Red ' attribute. |
void |
unsetTransparency()
Unsets the value of the '
Transparency ' attribute. |
getType, isSetType, setType, unsetType
int getTransparency()
isSetTransparency()
,
unsetTransparency()
,
setTransparency(int)
,
AttributePackage.getColorDefinition_Transparency()
void setTransparency(int value)
Transparency
' attribute.
Sets the transparency for the color.
value
- the new value of the 'Transparency' attribute.isSetTransparency()
,
unsetTransparency()
,
getTransparency()
void unsetTransparency()
Transparency
' attribute.
isSetTransparency()
,
getTransparency()
,
setTransparency(int)
boolean isSetTransparency()
Transparency
' attribute is set.
unsetTransparency()
,
getTransparency()
,
setTransparency(int)
int getRed()
isSetRed()
,
unsetRed()
,
setRed(int)
,
AttributePackage.getColorDefinition_Red()
void setRed(int value)
Red
' attribute.
Sets the 'Red' component for the
color. value
- the new value of the 'Red' attribute.isSetRed()
,
unsetRed()
,
getRed()
void unsetRed()
Red
' attribute.
isSetRed()
,
getRed()
,
setRed(int)
boolean isSetRed()
Red
' attribute is set.
unsetRed()
,
getRed()
,
setRed(int)
int getBlue()
isSetBlue()
,
unsetBlue()
,
setBlue(int)
,
AttributePackage.getColorDefinition_Blue()
void setBlue(int value)
Blue
' attribute.
Sets the 'Blue' component for the
color. value
- the new value of the 'Blue' attribute.isSetBlue()
,
unsetBlue()
,
getBlue()
void unsetBlue()
Blue
' attribute.
isSetBlue()
,
getBlue()
,
setBlue(int)
boolean isSetBlue()
Blue
' attribute is set.
unsetBlue()
,
getBlue()
,
setBlue(int)
int getGreen()
isSetGreen()
,
unsetGreen()
,
setGreen(int)
,
AttributePackage.getColorDefinition_Green()
void setGreen(int value)
Green
' attribute.
Sets the 'Green' component for the
color. value
- the new value of the 'Green' attribute.isSetGreen()
,
unsetGreen()
,
getGreen()
void unsetGreen()
Green
' attribute.
isSetGreen()
,
getGreen()
,
setGreen(int)
boolean isSetGreen()
Green
' attribute is set.
unsetGreen()
,
getGreen()
,
setGreen(int)
void set(int iRed, int iGreen, int iBlue)
iRed
- iGreen
- iBlue
- void set(int iRed, int iGreen, int iBlue, int iAlpha)
iRed
- iGreen
- iBlue
- iAlpha
- ColorDefinition brighter()
ColorDefinition darker()
ColorDefinition translucent()
ColorDefinition opaque()
void invert()
ColorDefinition transparent()
ColorDefinition copyInstance()
copyInstance
in interface Fill
copyInstance
in interface IChartObject
Copyright © 2005-2008 Actuate Corp. All rights reserved.