@ExperimentalMotionApi
class RelativePosition


Relative coordinate space in which KeyPositions are applied.

Summary

Public companion properties

RelativePosition

The default coordinate space, defined between the ending and starting point of the motion.

RelativePosition

The coordinate space defined within the parent layout bounds (the MotionLayout parent).

RelativePosition

The coordinate space defined between the ending and starting point of the motion.

Public properties

open String

Public companion properties

Delta

Added in 1.1.0
val DeltaRelativePosition

The default coordinate space, defined between the ending and starting point of the motion. Aligned to the layout's X and Y axis.

Parent

Added in 1.1.0
val ParentRelativePosition

The coordinate space defined within the parent layout bounds (the MotionLayout parent).

Path

Added in 1.1.0
val PathRelativePosition

The coordinate space defined between the ending and starting point of the motion. Aligned perpendicularly to the shortest line between the start/end.

Public properties

name

Added in 1.1.0
open val nameString