UNPKG

@minofrk/xelto-diagram-canvas

Version:

An implementation of <xelto-diagram> in TypeScript.

46 lines 1.11 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function* iterateUpperTxifolLeftTops() { for (let i = 0; i < 7; i++) { yield { x: 2, y: 3 + (12 / 7) * i, i, }; } for (let i = 0; i < 7; i++) { yield { x: 0, y: 3 + (12 / 7) * i, i: i + 7, }; } } function* iterateLowerTxifolLeftTops() { for (let i = 0; i < 7; i++) { yield { x: 20, y: 13 - (12 / 7) * (i + 1), i, }; } for (let i = 0; i < 7; i++) { yield { x: 22, y: 13 - (12 / 7) * (i + 1), i: i + 7, }; } } exports.iterateUpperCaptiveLeftTops = { txifol: iterateUpperTxifolLeftTops, evol: { x: 2, y: 1 }, }; exports.iterateLowerCaptiveLeftTops = { txifol: iterateLowerTxifolLeftTops, evol: { x: 20, y: 13 }, }; exports.upperPlayerLeftTop = { x: 0, y: 1 }; exports.lowerPlayerLeftTop = { x: 22, y: 13 }; exports.txifolSize = { x: 2, y: 12 / 7 }; //# sourceMappingURL=areas.js.map