ViewState

public class ViewState
extends Object

java.lang.Object
   ↳ androidx.constraintlayout.motion.utils.ViewState


Stores the bounds and rotation of a widget

Summary

Fields

public int bottom

public int left

public int right

public float rotation

public int top

Public constructors

ViewState()

Public methods

void getState(View v)
int height()
int width()

Inherited methods

Fields

bottom

public int bottom

left

public int left

public int right

rotation

public float rotation

top

public int top

Public constructors

ViewState

public ViewState ()

Public methods

getState

public void getState (View v)

Parameters
v View

height

public int height ()

Returns
int

width

public int width ()

Returns
int