draw_arc {cursr} | R Documentation |
Draw an Arc
Description
Calculate the path of an arc within a grid and print to screen.
Usage
draw_arc(yx, start, end, r = 1, n = 50, text = "x", ...)
Arguments
yx |
center |
start |
starting angle in radians |
end |
ending angle in radians |
r |
radius of circle |
n |
number of points along curve to calculate |
text |
character value drawn at coordinate |
... |
parameters that are passed to |
Value
NULL
See Also
Other drawing functions:
box_at()
,
draw_bezier()
,
draw_circle()
,
draw_ellipse()
,
draw_fn()
,
draw_lerp()
,
draw_path()
,
draw_ray()
,
draw_rect()
,
draw_shape()
,
fill_circle()
,
fill_ellipse()
,
fill_rect()
,
fill_shape()
,
grid_at()
,
grid_mat()
,
hline_at()
,
hline()
,
vline_at()
,
vline()
Examples
draw_arc(yx=c(10,10), start=pi/2, end=pi, r=6)
[Package cursr version 0.1.0 Index]