class Transition.WidgetState


Summary

Public constructors

Public functions

WidgetFrame!
getFrame(type: Int)
Unit
interpolate(
    parentWidth: Int,
    parentHeight: Int,
    progress: Float,
    transition: Transition!
)
Unit
Unit

Set tge keyAttribute bundle and associated custom attributes

Unit
Unit
Unit
Unit
update(child: ConstraintWidget!, state: Int)

Public constructors

WidgetState

Added in 1.1.0-alpha13
WidgetState()

Public functions

getFrame

Added in 1.1.0-alpha13
fun getFrame(type: Int): WidgetFrame!

interpolate

Added in 1.1.0-alpha13
fun interpolate(
    parentWidth: Int,
    parentHeight: Int,
    progress: Float,
    transition: Transition!
): Unit

setKeyAttribute

Added in 1.1.0-alpha13
fun setKeyAttribute(prop: TypedBundle!): Unit

setKeyAttribute

Added in 1.1.0-alpha13
fun setKeyAttribute(prop: TypedBundle!, custom: Array<CustomVariable!>!): Unit

Set tge keyAttribute bundle and associated custom attributes

Parameters
prop: TypedBundle!
custom: Array<CustomVariable!>!

setKeyCycle

Added in 1.1.0-alpha13
fun setKeyCycle(prop: TypedBundle!): Unit

setKeyPosition

Added in 1.1.0-alpha13
fun setKeyPosition(prop: TypedBundle!): Unit

setPathRelative

Added in 1.1.0-alpha13
fun setPathRelative(widgetState: Transition.WidgetState!): Unit

update

Added in 1.1.0-alpha13
fun update(child: ConstraintWidget!, state: Int): Unit