public class LithoAnimtableItem extends java.lang.Object implements AnimatableItem
AnimatableItem required by the TransitionsExtension
to power animations. This object should NOT be used to inform the should update during mounting,
therefore it should NOT be used to host any such information.| Constructor and Description |
|---|
LithoAnimtableItem(long id,
Rect absoluteBounds,
int type,
NodeInfo nodeInfo,
TransitionId transitionId) |
| Modifier and Type | Method and Description |
|---|---|
Rect |
getAbsoluteBounds() |
float |
getAlpha() |
long |
getId() |
int |
getOutputType() |
float |
getRotation() |
float |
getRotationX() |
float |
getRotationY() |
float |
getScale() |
TransitionId |
getTransitionId() |
boolean |
isAlphaSet() |
boolean |
isRotationSet() |
boolean |
isRotationXSet() |
boolean |
isRotationYSet() |
boolean |
isScaleSet() |
public LithoAnimtableItem(long id,
Rect absoluteBounds,
int type,
NodeInfo nodeInfo,
TransitionId transitionId)
public long getId()
getId in interface AnimatableItempublic Rect getAbsoluteBounds()
getAbsoluteBounds in interface AnimatableItempublic int getOutputType()
getOutputType in interface AnimatableItempublic TransitionId getTransitionId()
getTransitionId in interface AnimatableItempublic float getScale()
getScale in interface AnimatableItempublic float getAlpha()
getAlpha in interface AnimatableItempublic float getRotation()
getRotation in interface AnimatableItempublic float getRotationX()
getRotationX in interface AnimatableItempublic float getRotationY()
getRotationY in interface AnimatableItempublic boolean isScaleSet()
isScaleSet in interface AnimatableItempublic boolean isAlphaSet()
isAlphaSet in interface AnimatableItempublic boolean isRotationSet()
isRotationSet in interface AnimatableItempublic boolean isRotationXSet()
isRotationXSet in interface AnimatableItempublic boolean isRotationYSet()
isRotationYSet in interface AnimatableItem