View source: R/features-hockey.R
hockey_odzone_faceoff_lines | R Documentation |
These lines are L-shaped, but can be thought of as two rectangles with thickness given by 'minor_line_thickness', and are usually red in color
hockey_odzone_faceoff_lines(
feature_thickness = 0,
faceoff_line_dist_x = 0,
faceoff_line_dist_y = 0,
faceoff_line_length = 0,
faceoff_line_width = 0
)
feature_thickness |
The thickness of the faceoff lines |
faceoff_line_dist_x |
The distance from the center of the faceoff spot to the interior edge of the faceoff lines in the x direction |
faceoff_line_dist_y |
The distance from the center of the faceoff spot to the interior edge of the faceoff lines in the y direction |
faceoff_line_length |
The length of the faceoff lines from the edge nearest the goal line to the edge nearest the end boards |
faceoff_line_width |
The width of the faceoff lines from the edge nearest the center of the spot to the edge nearest the side boards |
A data frame containing the bounding coordinates of the offensive/defensive zone faceoff lines
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.