UNPKG

@arayutw/matrix-pointer

Version:

This is a library that assists in focusing on any position of a matrix and moving relative or absolute to that position.

3 lines (2 loc) 133 B
import { Matrix, Position } from "./class"; export declare function moveTo(matrix: Matrix, sx: number, sy: number): Position | null;