scale3dSelf

fun scale3dSelf(    scale: Double = definedExternally,     originX: Double = definedExternally,     originY: Double = definedExternally,     originZ: Double = definedExternally): DOMMatrix(source)

The scale3dSelf() method of the DOMMatrix interface is a mutable transformation method that modifies a matrix by applying a specified scaling factor to all three axes, centered on the given origin, with a default origin of (0, 0, 0), returning the 3D-scaled matrix.

MDN Reference