Interface: D3SurfaceOptions
Defined in: packages/sdvplot/src/d3/index.ts:188
Extends
SurfaceSceneOptions
Properties
arcResolution?
optionalarcResolution?:number
Defined in: packages/sdvplot/src/surfaces.ts:224
Inherited from
SurfaceSceneOptions.arcResolution
ariaDescription?
optionalariaDescription?:string
Defined in: packages/sdvplot/src/d3/index.ts:192
Describes the surface for assistive technology; default sporty's ("nba basketball surface" and so on).
colorUpdates?
optionalcolorUpdates?:Partial<Record<AnyColorKey,string>>
Defined in: packages/sdvplot/src/surfaces.ts:206
Overrides on top of the team painting, keyed by sporty colour key.
Inherited from
SurfaceSceneOptions.colorUpdates
displayRange?
optionaldisplayRange?:AnyRange
Defined in: packages/sdvplot/src/surfaces.ts:209
A sporty display range for the league's sport; one the sport does not know throws sporty's UnknownDisplayRangeError.
Inherited from
SurfaceSceneOptions.displayRange
rotation?
optionalrotation?:number
Defined in: packages/sdvplot/src/surfaces.ts:207
Inherited from
SurfaceSceneOptions.rotation
season?
optionalseason?:SeasonInput
Defined in: packages/sdvplot/src/surfaces.ts:204
Inherited from
SurfaceSceneOptions.season
team?
optionalteam?:Value
Defined in: packages/sdvplot/src/surfaces.ts:203
A team of the league, painting the surface; only for keys that are sdv team leagues (otherwise InputError).
Inherited from
SurfaceSceneOptions.team
units?
optionalunits?:"m"|"ft"|"yd"|"in"|"cm"|"mm"
Defined in: packages/sdvplot/src/surfaces.ts:212
Inherited from
SurfaceSceneOptions.units
updates?
optionalupdates?:BaseballParamUpdates&BasketballParamUpdates&CurlingParamUpdates&FootballParamUpdates&HockeyParamUpdates&LacrosseParamUpdates&SoccerParamUpdates&SoftballParamUpdates&TennisParamUpdates&VolleyballParamUpdates
Defined in: packages/sdvplot/src/surfaces.ts:214
Sporty parameter overrides (intersected across sports so each sport's own keys type-check).
Inherited from
SurfaceSceneOptions.updates
x
x: (
v) =>number
Defined in: packages/sdvplot/src/d3/index.ts:189
Parameters
v
number
Returns
number
xlim?
optionalxlim?: readonly [number,number]
Defined in: packages/sdvplot/src/surfaces.ts:210
Inherited from
SurfaceSceneOptions.xlim
xTrans?
optionalxTrans?:number
Defined in: packages/sdvplot/src/surfaces.ts:225
Inherited from
SurfaceSceneOptions.xTrans
y
y: (
v) =>number
Defined in: packages/sdvplot/src/d3/index.ts:190
Parameters
v
number
Returns
number
ylim?
optionalylim?: readonly [number,number]
Defined in: packages/sdvplot/src/surfaces.ts:211
Inherited from
SurfaceSceneOptions.ylim
yTrans?
optionalyTrans?:number
Defined in: packages/sdvplot/src/surfaces.ts:226
Inherited from
SurfaceSceneOptions.yTrans