getRectAsState

fun StatefulValue<Rect>.getRectAsState(context: MotionContext, motionProperty: MotionProperty<Rect>, defaultValue: Rect = getDefaultValue()): State<Rect>

Возвращает State<Rect> для StatefulValue с применением motionProperty.