ob_circle | R Documentation |
ob_circle class
ob_circle(
center = ob_point(0, 0),
radius = 1,
label = character(0),
alpha = numeric(0),
color = character(0),
fill = character(0),
linewidth = numeric(0),
linetype = numeric(0),
n = numeric(0),
style = S7::class_missing,
x = numeric(0),
y = numeric(0),
id = character(0),
...
)
center |
point at center of the circle |
radius |
distance between center and edge circle |
label |
A character, angle, or label object |
alpha |
numeric value for alpha transparency |
color |
character string for color |
fill |
character string for fill color |
linewidth |
Width of lines |
linetype |
type of lines |
n |
number of points in circle (default = 360) |
style |
an ob_style object |
x |
x-coordinate of center point. If specified, overrides x-coordinate of |
y |
x-coordinate of center point. If specified, overrides y-coordinate of |
id |
character string to identify object |
... |
< |
ob_circle object
aesthetics
A list of information about the circle's aesthetic properties
angle_at
A function that finds the angle of the specified point in relation to the circle's center
area
area of the circle
bounding_box
a rectangle that contains all the circles
circumference
circumference of the circle
geom
A function that converts the object to a geom. Any additional parameters are passed to ggforce::geom_circle
.
length
The number of circles in the circle object
normal_at
A function that finds a point that is perpendicular from the circle and at a specified distance
point_at
A function that finds a point on the circle at the specified angle.
polygon
a tibble containing information to create all the polygon points in a circle.
tangent_at
A function that finds the tangent line at the specified angle.
tibble
Gets a tibble (data.frame) containing parameters and styles used by ggforce::geom_cirlce
.
# specify center point and radius
ob_circle(center = ob_point(0,0), radius = 6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.