UNPKG

js-draw

Version:

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

10 lines (9 loc) 456 B
export const defaultTextRendererLocalization = { pathNodeCount: (count) => `There are ${count} visible path objects.`, textNodeCount: (count) => `There are ${count} visible text nodes.`, imageNodeCount: (nodeCount) => `There are ${nodeCount} visible image nodes.`, textNode: (content) => `Text: ${content}`, imageNode: (label) => `Image: ${label}`, unlabeledImageNode: 'Unlabeled image', rerenderAsText: 'Re-render as text', };