toDataURL

fun toDataURL(type: String, quality: JsAny?): String