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-beta01
ViewState()

Public functions

getState

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

Get the parameters of the view

Parameters
v: View!

the view

height

Added in 2.2.0-beta01
fun height(): Int

the height of the view

Returns
Int

the width

width

Added in 2.2.0-beta01
fun width(): Int

The width of the view

Returns
Int

the width

Public properties

bottom

Added in 2.2.0-beta01
val bottomInt

left

Added in 2.2.0-beta01
val leftInt

right

Added in 2.2.0-beta01
val rightInt

rotation

Added in 2.2.0-beta01
val rotationFloat

top

Added in 2.2.0-beta01
val topInt