linearly v0.32.0Docs


linearly v0.32.0 / mat2d / toString

Function: toString()

toString(m, fractionDigits?): string

Returns a string representation of a mat2d

Parameters

m: mat2d

matrix to represent as a string

fractionDigits?: number

number of digits to appear after the decimal point

Returns

string

Defined in

src/mat2d.ts:682open in new window