convertToSpecifiedUnits

open external fun convertToSpecifiedUnits(unitType: SVGLength.UnitType)(source)

The convertToSpecifiedUnits() method of the SVGLength interface allows you to convert the length's value to the specified unit type.

MDN Reference