Skip to main content

Variable: BASKETBALL_COLOR_KEYS

const BASKETBALL_COLOR_KEYS: readonly ["plot_background", "defensive_half_court", "offensive_half_court", "court_apron", "center_circle_outline", "center_circle_fill", "division_line", "endline", "sideline", "two_point_range", "three_point_line", "painted_area", "lane_boundary", "free_throw_circle_outline", "free_throw_circle_fill", "free_throw_circle_dash", "lane_space_mark", "inbounding_line", "substitution_line", "baseline_lower_defensive_box", "lane_lower_defensive_box", "team_bench_line", "restricted_arc", "backboard", "basket_ring", "net"]

Defined in: packages/sporty/src/basketball/types.ts:92

The 26 argument names of basketball_features_set_colors(), in R's declaration order. Colour keys are NOT feature names: e.g. the half_court feature is drawn twice, coloured by offensive_half_court / defensive_half_court; Task 13 maps colour to feature at addFeature.