GoalGeometry
Defined in: packages/core/src/goal/geometry.ts:55
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
backdrop | readonly | GoalRect | Everything above the goal line. | packages/core/src/goal/geometry.ts:57 |
crossbar | readonly | GoalRect | - | packages/core/src/goal/geometry.ts:75 |
fontSize | readonly | number | - | packages/core/src/goal/geometry.ts:76 |
ground | readonly | GoalRect | The ground in front of the goal. | packages/core/src/goal/geometry.ts:59 |
groundMarkings | readonly | readonly GoalGroundMarking[] | - | packages/core/src/goal/geometry.ts:60 |
heightMarker | readonly | GoalDimensionMarker | The height to the crossbar, drawn left of the left post. | packages/core/src/goal/geometry.ts:80 |
mouth | readonly | GoalRect | The net behind the goal mouth. | packages/core/src/goal/geometry.ts:72 |
net | readonly | readonly GoalSegment[] | - | packages/core/src/goal/geometry.ts:73 |
penaltySpot | readonly | object | Where the penalty spot is, in perspective. Its position is to scale; its size is not, since a real spot seen from this low reads as a dash. | packages/core/src/goal/geometry.ts:65 |
penaltySpot.cx | readonly | number | - | packages/core/src/goal/geometry.ts:66 |
penaltySpot.cy | readonly | number | - | packages/core/src/goal/geometry.ts:67 |
penaltySpot.rx | readonly | number | - | packages/core/src/goal/geometry.ts:68 |
penaltySpot.ry | readonly | number | - | packages/core/src/goal/geometry.ts:69 |
posts | readonly | readonly [GoalRect, GoalRect] | - | packages/core/src/goal/geometry.ts:74 |
widthMarker | readonly | GoalDimensionMarker | The distance between the posts, drawn above the crossbar. | packages/core/src/goal/geometry.ts:78 |