import { type Crowd, type CrowdStands } from "./crowd.ts"; import type { MultiCell, MultiFit, MultiLayout, MultiOptions, MultiVenue } from "./multi.types.ts"; /** * A tournament layout as one SVG string: several of the package's surfaces laid out together for one large event, to scale, on one floor. `preset` is one of `MULTI_PRESETS` (`tabletennis-4`, `pickleball-2x4`, * `curling-1x4`, `judo-1x3`, `karate-2x3`, `badminton-1x4`, ...), or `layout` is your own; `rows`, `columns` and `stagger` change the grid. The empty places for the event's words and marks are drawn dashed and hold nothing. * `venue` sets the layout in a hall's floor (a key of `MULTI_VENUES` or a size of your own) and the description says whether it fits; `stadium` draws a real stadium round the floor at the same scale, with the * walls, the stands and the crowd the package draws for the sport. Light and dark follow the page; `multiTable` is the same thing as a table. * @example * ```ts * import { drawMulti } from "@johnmorrisdotca/kyogijo-stadiums/multi"; * const svg = drawMulti({ preset: "tabletennis-4", stadium: true, venue: "ovo-arena-wembley" }); * console.log(svg.startsWith("