interface AlphaPaintable
Modifier and Type | Method and Description |
---|---|
float |
getAlpha()
Get the current alpha value.
|
float |
getEffectiveAlpha()
Unlike other properties, alpha can be set on a component, or on one of
its parents.
|
boolean |
isInheritAlpha()
Returns the state of the panel with respect to inheriting alpha values.
|
void |
setAlpha(float alpha)
Set the alpha transparency level for this component.
|
void |
setInheritAlpha(boolean inheritAlpha)
Determines if the effective alpha of this component should include the
alpha of ancestors.
|
float getAlpha()
void setAlpha(float alpha)
alpha
- must be a value between 0 and 1 inclusiveIllegalArgumentException
- if the value is invalidboolean isInheritAlpha()
true
if this panel inherits alpha values; false
otherwisesetInheritAlpha(boolean)
void setInheritAlpha(boolean inheritAlpha)
inheritAlpha
- true
to include ancestral alpha data; false
otherwiseisInheritAlpha()
,
getEffectiveAlpha()
float getEffectiveAlpha()
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses