GoalDimensionMarker
Defined in: packages/core/src/goal/geometry.ts:41
A measurement drawn beside the goal: a double-headed arrow, the two extension lines it runs between, and its label on a backing box.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
extensions | readonly | readonly [GoalSegment, GoalSegment] | - | packages/core/src/goal/geometry.ts:45 |
heads | readonly | readonly [string, string] | One open arrowhead path per end. | packages/core/src/goal/geometry.ts:44 |
label? | readonly | object | The label and its backing box, or undefined when the box is wider than the space the marker sits in: on a very small view the height label would cover the left post. | packages/core/src/goal/geometry.ts:51 |
label.text | readonly | string | - | packages/core/src/goal/geometry.ts:51 |
label.x | readonly | number | - | packages/core/src/goal/geometry.ts:51 |
label.y | readonly | number | - | packages/core/src/goal/geometry.ts:51 |
labelBox? | readonly | GoalRect | - | packages/core/src/goal/geometry.ts:52 |
line | readonly | GoalSegment | - | packages/core/src/goal/geometry.ts:42 |