Function: lacrosseField()
lacrosseField(
league,opts?):Scene
Defined in: packages/sporty/src/lacrosse/field.ts:44
Port of sportyR geom_lacrosse(): one PolygonFeature per ggplot layer R adds, in R's layer order.
Documented divergences: an unknown displayRange throws (R falls back to "full"); units also converts the anchors and
display limits; a user's center_face_off_marker colour wins over the contrasting #ffcb05 (R overwrites it).
Parameters
league
"custom" | string & object | "ncaam" | "ncaaw" | "nll" | "pll" | "usam" | "usaw" | "world lacrosse"
opts?
SurfaceOptions<LacrosseParamUpdates, "plot_background" | "sideline" | "field_apron" | "end_line" | "goal_line" | "defensive_zone" | "neutral_zone" | "offensive_zone" | "boards" | "center_line" | "referee_crease" | "goal_frame" | "team_a_bench" | "team_b_bench" | "team_a_penalty_box" | "team_b_penalty_box" | "referee_crease_fill" | "change_area_outline" | "change_area_fill" | "off_field_officials_box" | "wing_line" | "restraining_line" | "defensive_area_line" | "center_circle" | "goal_circle_fill" | "goal_circle" | "goal_arc" | "goal_fan" | "goal_fan_hash_mark" | "goal_mouth" | "goal_mouth_hash_mark" | "below_goal_marking" | "goal_net" | "center_face_off_marker" | "corner_face_off_marker", "full" | "in_bounds_only" | "in bounds only" | "offense" | "offence" | "defense" | "defence" | "offensivehalffield" | "offensive_half_field" | "offensive half field" | "defensivehalffield" | "defensive_half_field" | "defensive half field"> = {}