Documentation / @ripl/core / matrixTranslate
Function: matrixTranslate()
matrixTranslate(
x,y):Matrix
Defined in: packages/core/src/math/matrix.ts:22
Returns a translation matrix that moves points by (x, y).
Parameters
| Parameter | Type |
|---|---|
x | number |
y | number |