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) 578 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.defaultTextRendererLocalization = void 0; exports.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', };