abstract fun capturePage(callback: (image: NativeImage) -> Unit): Unit
abstract fun capturePage(rect: Rectangle, callback: (image: NativeImage) -> Unit): Unit