UNPKG

js-draw

Version:

Draw pictures using a pen, touchscreen, or mouse! JS-draw is a drawing library for JavaScript and TypeScript.

13 lines (12 loc) 429 B
import { Mat33, Vec2 } from '@js-draw/math'; interface Descriptions { zoomedIn: string; zoomedOut: string; movedLeft: string; movedRight: string; movedUp: string; movedDown: string; rotatedBy: (deg: number) => string; } declare const describeTransformation: (origin: Vec2, transform: Mat33, invertDirections: boolean, localizationTable: Descriptions) => string; export default describeTransformation;