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 AnimatableItem
public Rect getAbsoluteBounds()
getAbsoluteBounds
in interface AnimatableItem
public int getOutputType()
getOutputType
in interface AnimatableItem
public TransitionId getTransitionId()
getTransitionId
in interface AnimatableItem
public float getScale()
getScale
in interface AnimatableItem
public float getAlpha()
getAlpha
in interface AnimatableItem
public float getRotation()
getRotation
in interface AnimatableItem
public float getRotationX()
getRotationX
in interface AnimatableItem
public float getRotationY()
getRotationY
in interface AnimatableItem
public boolean isScaleSet()
isScaleSet
in interface AnimatableItem
public boolean isAlphaSet()
isAlphaSet
in interface AnimatableItem
public boolean isRotationSet()
isRotationSet
in interface AnimatableItem
public boolean isRotationXSet()
isRotationXSet
in interface AnimatableItem
public boolean isRotationYSet()
isRotationYSet
in interface AnimatableItem