This draws the right-side goal line (in TV view), starting with its left edge. This also accounts for a perfectly rectangular goal line if a user supplies a value that necessitates one. The line is rectangular in shape with rounded ends, and usually red in color
hockey_goal_line(
rink_length = 0,
rink_width = 0,
feature_radius = 0,
feature_thickness = 0,
x_anchor = 0
)
A data frame containing the bounding coordinates of the goal line
The length of the rink
The width of the rink
The radius of the corner of the rink
The thickness of the goal line
the x
coordinate used as the anchor point of the goal
line