Skip to main content

Function: curlingSheet()

curlingSheet(league, opts?): Scene

Defined in: packages/sporty/src/curling/sheet.ts:38

Port of sportyR geom_curling(): one PolygonFeature per ggplot layer R adds, in R's layer order. The sheet is vertical (sheet_width spans x, sheet_length spans y). Documented divergences: an unknown displayRange throws (R falls back to "full"); units also converts the anchors and display limits; a house-ring colour vector shorter than the ring count recycles (R yields NA).

Parameters​

league​

"custom" | string & object | "curling canada" | "wcf"

opts?​

SurfaceOptions<CurlingParamUpdates, "plot_background" | "sheet_apron" | "centre_zone" | "button" | "tee_line" | "back_line" | "hog_line" | "centre_line" | "hack_line" | "courtesy_line" | "end_1" | "end_2" | "hack" | "house_rings", "full" | "in_bounds_only" | "in bounds only" | "house"> = {}

Returns​

Scene