class Transition


Create a Transition Object. Transition objects reference the start and end Constraints

Summary

Public constructors

Transition(from: String!, to: String!)
Transition(id: String!, from: String!, to: String!)

Public functions

String!
Unit
setDuration(duration: Int)
Unit
setFrom(constraintSetStart: String!)
Unit
setId(id: String!)
Unit
setKeyFrames(keyFrames: Keys!)
Unit
setOnSwipe(onSwipe: OnSwipe!)
Unit
setStagger(stagger: Float)
Unit
setTo(constraintSetEnd: String!)
String!

Public constructors

Transition

Added in 1.1.0
Transition(from: String!, to: String!)

Transition

Added in 1.1.0
Transition(id: String!, from: String!, to: String!)

Public functions

getId

Added in 1.1.0
fun getId(): String!

setDuration

Added in 1.1.0
fun setDuration(duration: Int): Unit

setFrom

Added in 1.1.0
fun setFrom(constraintSetStart: String!): Unit

setId

Added in 1.1.0
fun setId(id: String!): Unit

setKeyFrames

Added in 1.1.0
fun setKeyFrames(keyFrames: Keys!): Unit

setOnSwipe

Added in 1.1.0
fun setOnSwipe(onSwipe: OnSwipe!): Unit

setStagger

Added in 1.1.0
fun setStagger(stagger: Float): Unit

setTo

Added in 1.1.0
fun setTo(constraintSetEnd: String!): Unit

toString

fun toString(): String!