onSizeChanged

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

Called when the size has changed.

Parameters

w

width of the viewport

h

height of the viewport