| draw_rect {cursr} | R Documentation |
Draw a Rectangle
Description
Calculate the path of a rectangle in a grid and draw to screen.
Usage
draw_rect(yx1, yx2, text = "x", ...)
Arguments
yx1 |
upper-left |
yx2 |
lower-right |
text |
character value drawn at coordinate |
... |
parameters that are passed to |
Value
NULL
See Also
Other drawing functions:
box_at(),
draw_arc(),
draw_bezier(),
draw_circle(),
draw_ellipse(),
draw_fn(),
draw_lerp(),
draw_path(),
draw_ray(),
draw_shape(),
fill_circle(),
fill_ellipse(),
fill_rect(),
fill_shape(),
grid_at(),
grid_mat(),
hline_at(),
hline(),
vline_at(),
vline()
Examples
draw_rect(c(5,5), c(9,9))
[Package cursr version 0.1.0 Index]