Skip to main content

Interface: SvgOptions

Defined in: packages/sporty/src/svg.ts:4

Properties​

arcs?​

optional arcs?: "svg" | "sampled"

Defined in: packages/sporty/src/svg.ts:11

"sampled" (default) emits every point as L; "svg" replaces detected circle runs with A commands.


ariaDescription?​

optional ariaDescription?: string

Defined in: packages/sporty/src/svg.ts:16

Describes the surface for assistive technology, on the <g> that holds it; default the scene's league and sport, then "surface", such as "nba basketball surface" (as surfaceMark).


background?​

optional background?: string

Defined in: packages/sporty/src/svg.ts:7


height?​

optional height?: number

Defined in: packages/sporty/src/svg.ts:6


id?​

optional id?: string

Defined in: packages/sporty/src/svg.ts:9


precision?​

optional precision?: number

Defined in: packages/sporty/src/svg.ts:8


width?​

optional width?: number

Defined in: packages/sporty/src/svg.ts:5