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.

4 lines (3 loc) 233 B
import { Id, Matrix, Position } from "./class"; export declare function findArroundX(row: Id[], sx: number, ny: number): Position | null; export declare function findArroundY(matrix: Matrix, nx: number, sy: number): Position | null;