public class Transparency extends NativeObject
Constructor and Description |
---|
Transparency(double alpha) |
Modifier and Type | Method and Description |
---|---|
static Transparency |
createDynamicObject(long handle) |
double |
getAlpha() |
BlendMode |
getBlendMode() |
void |
setAlpha(double value) |
void |
setBlendMode(BlendMode value) |
equals, hashCode
public Transparency(double alpha)
alpha
- java.lang.IllegalArgumentException
- if the given value smaller than 0.0 or greater than 1.0.public static Transparency createDynamicObject(long handle)
public BlendMode getBlendMode()
public void setBlendMode(BlendMode value)
java.lang.IllegalArgumentException
- if value
is null
public double getAlpha()
public void setAlpha(double value)
java.lang.IllegalArgumentException
- if the given value smaller than 0.0 or greater than 1.0.