Class MotionPaths
- java.lang.Object
-
- androidx.constraintlayout.core.motion.MotionPaths
-
- All Implemented Interfaces:
java.lang.Comparable<MotionPaths>
public class MotionPaths extends java.lang.Object implements java.lang.Comparable<MotionPaths>
This is used to capture and play back path of the layout. It is used to set the bounds of the view (view.layout(l, t, r, b))
-
-
Constructor Summary
Constructors Constructor Description MotionPaths()MotionPaths(int parentWidth, int parentHeight, MotionKeyPosition c, MotionPaths startTimePoint, MotionPaths endTimePoint)takes the new keyPosition
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyParameters(MotionWidget c)intcompareTo(MotionPaths o)voidconfigureRelativeTo(Motion toOrbit)voidsetupRelative(Motion mc, MotionPaths relative)
-
-
-
Field Detail
-
TAG
public static final java.lang.String TAG
- See Also:
- Constant Field Values
-
DEBUG
public static final boolean DEBUG
- See Also:
- Constant Field Values
-
OLD_WAY
public static final boolean OLD_WAY
- See Also:
- Constant Field Values
-
PERPENDICULAR
public static final int PERPENDICULAR
- See Also:
- Constant Field Values
-
CARTESIAN
public static final int CARTESIAN
- See Also:
- Constant Field Values
-
SCREEN
public static final int SCREEN
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MotionPaths
public MotionPaths()
-
MotionPaths
public MotionPaths(int parentWidth, int parentHeight, MotionKeyPosition c, MotionPaths startTimePoint, MotionPaths endTimePoint)takes the new keyPosition
-
-
Method Detail
-
setupRelative
public void setupRelative(Motion mc, MotionPaths relative)
-
compareTo
public int compareTo(MotionPaths o)
- Specified by:
compareToin interfacejava.lang.Comparable<MotionPaths>
-
applyParameters
public void applyParameters(MotionWidget c)
-
configureRelativeTo
public void configureRelativeTo(Motion toOrbit)
-
-