kotlin-stdlib / org.w3c.dom / CanvasText / measureText measureText JS 1.1 abstract fun measureText ( text : String ) : TextMetrics (source)