toImage

open fun toImage(config: ToDataURLConfig): HTMLImageElement