public class OpacityTransition extends AbstractAnimation
jsonObject
Constructor and Description |
---|
OpacityTransition()
Constructor
|
OpacityTransition(Double opacity,
Integer duration)
Consturctor
|
Modifier and Type | Method and Description |
---|---|
Integer |
getDuration()
Gets value of duration
|
Double |
getOpacity()
Gets value of Opacity
|
void |
setDuration(Integer duration)
Sets value of duration
|
void |
setOpacity(Double opacity)
Sets value of opacity
|
toJsonObject
public Double getOpacity()
public void setOpacity(Double opacity)
opacity
- New value of opacitypublic Integer getDuration()
public void setDuration(Integer duration)
duration
- Value of durationCopyright © 2022. All rights reserved.