View source: R/features-hockey.R
hockey_goal_line | R Documentation |
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
)
rink_length |
The length of the rink |
rink_width |
The width of the rink |
feature_radius |
The radius of the corner of the rink |
feature_thickness |
The thickness of the goal line |
x_anchor |
the |
A data frame containing the bounding coordinates of the goal line
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.