ellipse_to_df: Convert Ellipse parameters into a data.frame of coords

Description Usage Arguments Value

View source: R/svg-ellipse.R

Description

cx, cy, rx, ry are attribute parameters of the <ellipse> tag. npoints is defined by the ser.

Usage

1
ellipse_to_df(cx, cy, rx, ry, npoints)

Arguments

cx, cy, rx, ry

ellipse parameters

npoints

number of points around ellipse

Value

data.frame of x,y coordinates around the ellipse


coolbutuseless/svgparser documentation built on Dec. 26, 2021, 12:03 a.m.