public class TransparencySupporter extends Object
The object supporting transparency.
Constructor and Description |
---|
TransparencySupporter() |
Modifier and Type | Method and Description |
---|---|
float |
getOpacity()
Gets or sets the object's opacity.
|
void |
setOpacity(float value)
Gets or sets the object's opacity.
|
public float getOpacity()
Gets or sets the object's opacity. The value should be between 0 and 1. Value of 0 means that object is fully visible, value of 1 means the object is fully opaque.
public void setOpacity(float value)
Gets or sets the object's opacity. The value should be between 0 and 1. Value of 0 means that object is fully visible, value of 1 means the object is fully opaque.
value
- The opacity value.