resize

fun resize(width: Int, height: Int, context: Context)

Resizes the internal frame buffer.