add_background(input, color = "black", rounding = 0, openfile = TRUE,
output = input)

Arguments

input File name of .svg file to input Vector of background color Rounding of background rectangle's corners. The default is 0 (no rounding). A rounding value of 1 creates a circle. If rounding is a vector of 2 values, the x and y rounding parameters are set separately. Open file in default program for .svg format. Defaults to FALSE. File name of .svg file to output. Default is to overwrite the input file.

output name

Examples

library(spiro)
spiro(
add_background(color = "black")