onSizeChanged

abstract fun onSizeChanged(w: Int, h: Int)

Called when the size has changed.

Parameters

h

height of the viewport

w

width of the viewport