public class Transition.WidgetState


Summary

Public constructors

Public methods

WidgetFrame
getFrame(int type)
void
interpolate(
    int parentWidth,
    int parentHeight,
    float progress,
    Transition transition
)
void
void
setKeyAttribute(TypedBundle prop, CustomVariable[] custom)

Set tge keyAttribute bundle and associated custom attributes

void
void
void
void
update(ConstraintWidget child, int state)

Public constructors

WidgetState

Added in 1.1.0-alpha13
public WidgetState()

Public methods

getFrame

Added in 1.1.0-alpha13
public WidgetFrame getFrame(int type)

interpolate

Added in 1.1.0-alpha13
public void interpolate(
    int parentWidth,
    int parentHeight,
    float progress,
    Transition transition
)

setKeyAttribute

Added in 1.1.0-alpha13
public void setKeyAttribute(TypedBundle prop)

setKeyAttribute

Added in 1.1.0-alpha13
public void setKeyAttribute(TypedBundle prop, CustomVariable[] custom)

Set tge keyAttribute bundle and associated custom attributes

Parameters
TypedBundle prop
CustomVariable[] custom

setKeyCycle

Added in 1.1.0-alpha13
public void setKeyCycle(TypedBundle prop)

setKeyPosition

Added in 1.1.0-alpha13
public void setKeyPosition(TypedBundle prop)

setPathRelative

Added in 1.1.0-alpha13
public void setPathRelative(Transition.WidgetState widgetState)

update

Added in 1.1.0-alpha13
public void update(ConstraintWidget child, int state)