Closed Torvaney closed 5 years ago
Alternatively, we could continue to use annotation_custom
but change the grob to use grid::grid.path
Or could add a viewport (arg to circleGrob
) to clip the circle -> semi-circle
Or we could use data (generated from the pitch spec) to plot a circle (or an oval due to the coordinates)
or could just use ggforce 🤷♂
another false alarm :/
The current method of plotting a whole circle behind the penalty box means that on small/distorted pitch shapes, the circle can peek out from behind the goal:
As part of the same issue, the circles change size (relative to the rest of the pitch) depending on the size/aspect ratio of the pitch. This should be avoided if possible.
Perhaps there's a clean solution using
annotate
?