draw_circle: Create a circle SVG Element

Description Usage Arguments

View source: R/draw.R

Description

A <circle> element creates a circle based on a center point and a radius.

Usage

1
draw_circle(cx = 0L, cy = 0L, r = 0L, fill, stroke, class, id)

Arguments

cx

numeric indicating the center position on the x-axis.

cy

numeric indicating the center position on the y-axis.

r

numeric, which sets the radius of the circle.

fill

expression setting the fill attribute.

stroke

expression setting the stroke attribute.

class

expression setting the class attribute.

id

expression setting the id attribute.


be-pr/drawsvg documentation built on Dec. 8, 2020, 3:34 a.m.