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.2
ViewState()

Public functions

getState

Added in 2.2.2
fun getState(v: View!): Unit

Get the parameters of the view

Parameters
v: View!

the view

height

Added in 2.2.2
fun height(): Int

the height of the view

Returns
Int

the width

width

Added in 2.2.2
fun width(): Int

The width of the view

Returns
Int

the width

Public properties

bottom

Added in 2.2.2
val bottom: Int

left

Added in 2.2.2
val left: Int

right

Added in 2.2.2
val right: Int

rotation

Added in 2.2.2
val rotation: Float

top

Added in 2.2.2
val top: Int