open class MoveEvent

Known direct subclasses
MoveEndEvent

An event representing the end of a move event.

MoveStartEvent

An event representing the start of a move event.


An event representing a change in pose, scale, and size.

Summary

Public constructors

MoveEvent(pose: Pose, scale: Float, size: IntVolumeSize)

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

Pose

The new pose of the composable in the subspace, relative to its parent, with its translation being expressed in pixels.

Float

The scale of the composable as a result of its motion.

IntVolumeSize

The IntVolumeSize value that includes the width, height and depth of the composable, factoring in shrinking or stretching due to scale.

Public constructors

MoveEvent

Added in 1.0.0-alpha04
MoveEvent(
    pose: Pose = Pose.Identity,
    scale: Float = 1.0f,
    size: IntVolumeSize = IntVolumeSize.Zero
)

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

pose

Added in 1.0.0-alpha04
var posePose

The new pose of the composable in the subspace, relative to its parent, with its translation being expressed in pixels.

scale

Added in 1.0.0-alpha04
var scaleFloat

The scale of the composable as a result of its motion. This value will change with the composable's depth when scaleWithDistance is true on the modifier.

size

Added in 1.0.0-alpha04
var sizeIntVolumeSize

The IntVolumeSize value that includes the width, height and depth of the composable, factoring in shrinking or stretching due to scale.