class ViewState


Stores the bounds and rotation of a widget

Summary

Public constructors

Public functions

Unit

Get the parameters of the view

Int

the height of the view

Int

The width of the view

Public properties

Int
Int
Int
Float
Int

Public constructors

ViewState

Added in 2.2.0-alpha13
ViewState()

Public functions

getState

Added in 2.2.0-alpha13
fun getState(v: View!): Unit

Get the parameters of the view

Parameters
v: View!

the view

height

Added in 2.2.0-alpha13
fun height(): Int

the height of the view

Returns
Int

the width

width

Added in 2.2.0-alpha13
fun width(): Int

The width of the view

Returns
Int

the width

Public properties

bottom

Added in 2.2.0-alpha13
val bottomInt

left

Added in 2.2.0-alpha13
val leftInt

right

Added in 2.2.0-alpha13
val rightInt

rotation

Added in 2.2.0-alpha13
val rotationFloat

top

Added in 2.2.0-alpha13
val topInt