The companion object contains factory functions to create new instances with initialization.
Create a new instance with given width, height and initialized according to init.