computeGoalGeometry()
function computeGoalGeometry(layout, units?): GoalGeometry;Defined in: packages/core/src/goal/geometry.ts:153
Every static shape of a goal view, in pixels: the backdrop and ground,
the markings on the ground in perspective, the net, the frame and the two
dimension markers. The goal view's counterpart to computePitchGeometry,
so no number is baked into a component.
Parameters
| Parameter | Type | Default value |
|---|---|---|
layout | GoalLayout | undefined |
units | GoalMarkerUnits | "metric" |