Description Usage Arguments Value
View source: R/bezier_private_functions.R
The lines are the upper and the lower lines that will make up the future polygon that will be used to generate the arrow. These lines are separated from the points by a defined width. The width is perpendicular to the lines angle at that particular point.
1 |
bp |
Bezier points that define the line. Based upon a bezier grob. |
end_point |
A list with x & y for the end, only used for the last element's angle. |
width |
The width as a grid length |
default.units |
The default unit (see the grid package for available |
align_2_axis |
This indicates if the arrows origin should align it to an axis. Which is decided by which axis is the closes one. |
A list with left and right elements indicating the two lines
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.