toDataURL

fun toDataURL(type: String = definedExternally, quality: Any? = definedExternally): String(source)

Since Kotlin

1.1