anki/ts/image-occlusion/shapes/index.ts
Aristotelis 56f7d54900
Add APIs for IO mask editing (#2758)
* Add simple mask editor add-on API

* Signal completed mask editor image loading to Python

* Add API methods for querying mask editor state, fix formatting

* Use event forwarding to propagate image loaded event

Should fix mobile support by moving all bridgeCommand calls to `NoteEditor.svelte`

* Add shape classes to mask editor API

---------

Co-authored-by: Glutanimate <glutanimate@users.noreply.github.com>
2023-10-22 10:40:40 +10:00

11 lines
417 B
TypeScript

// Copyright: Ankitects Pty Ltd and contributors
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
export type { ShapeOrShapes } from "./base";
export { Shape } from "./base";
export { Ellipse } from "./ellipse";
export { extractShapesFromRenderedClozes } from "./from-cloze";
export { Polygon } from "./polygon";
export { Rectangle } from "./rectangle";
export { Text } from "./text";