public interface ElementProperties
Modifier and Type | Method and Description |
---|---|
float |
alpha()
Returns the alpha (transparency) component between zero and one.
|
float |
b()
Returns the blue color component between zero and one.
|
float |
g()
Returns the green color component between zero and one.
|
Color |
getColor()
Returns the color.
|
int |
getRGBA()
Returns the RGBA color.
|
TextProperties |
getTextProperties()
Returns the text properties.
|
float |
r()
Returns the red color component between zero and one.
|
void |
setAlpha(float a)
Sets the alpha (transparency) color component.
|
void |
setB(float b)
Sets the blue color component.
|
void |
setColor(Color color)
Sets the color.
|
void |
setG(float g)
Sets the green color component.
|
void |
setR(float r)
Sets the red color component.
|
float r()
float g()
float b()
int getRGBA()
Color getColor()
float alpha()
TextProperties getTextProperties()
void setR(float r)
r
- the color component, between zero and onevoid setG(float g)
g
- the color component, between zero and onevoid setB(float b)
b
- the color component, between zero and onevoid setAlpha(float a)
a
- the alpha component, between zero and onevoid setColor(Color color)
color
- the colorCopyright © 2007–2017 Gephi Consortium. All rights reserved.