Skip to main content

method DOMMatrix.translateSelf

#DOMMatrix.translateSelf(
tx?: number,
ty?: number,
tz?: number,
): DOMMatrix

The translateSelf() method of the DOMMatrix interface is a mutable transformation method that modifies a matrix. It applies the specified vectors and returns the updated matrix. The default vector is [0, 0, 0].

MDN Reference

Parameters #

#tx: number
optional
#ty: number
optional
#tz: number
optional

Return Type #

Did you find what you needed?

Privacy policy