Make string bezier
string_bezier( file = "bezier.svg", x = c(0, 0, 1), y = c(1, 0, 0), n = 20, color = "royalblue", openfile = TRUE, ... )
file | Name of the output file. Defaults to "bezier.svg" |
---|---|
x | The x coordinates of the 3 points of the curve |
y | The y coordinates of the 3 points of the curve |
n | The number of segments. Defaults to 20. |
color | Vector of colors |
openfile | Open file in default program for .svg format. Defaults to FALSE. |
... | parameters passed to the segments function |
file by default or tibble with data if savefile if FALSE