resize

open fun resize(width: Int, height: Int, centerCamera: Boolean = false)

Resizes the internal graph's OrthographicCamera and CanvasLayer.

Parameters

centerCamera

if true will center the graphs internal camera after resizing the viewport