public class AnimationTransitions extends Object
Constructor and Description |
---|
AnimationTransitions() |
Modifier and Type | Method and Description |
---|---|
OpacityTransition |
getOpacity()
Sets Opacity transition
|
PositionTransition |
getPosition()
Gets position transition
|
SizeTransition |
getSize()
Gets size transition
|
void |
setOpacity(OpacityTransition opacity)
Sets opacity transition
|
void |
setPosition(PositionTransition position)
Sets position transition
|
void |
setSize(SizeTransition size)
Sets size transition
|
org.json.JSONObject |
toJsonObject() |
public org.json.JSONObject toJsonObject()
public OpacityTransition getOpacity()
public void setOpacity(OpacityTransition opacity)
opacity
- Opacity transitionpublic SizeTransition getSize()
public void setSize(SizeTransition size)
size
- size of the transitionpublic PositionTransition getPosition()
public void setPosition(PositionTransition position)
position
- position for the transitionCopyright © 2022. All rights reserved.