fill_rect {cursr} | R Documentation |
Draw a Filled-In Rectangle
Description
Calculate the path of a rectangle in a grid and draw to screen.
Usage
fill_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_rect()
,
draw_shape()
,
fill_circle()
,
fill_ellipse()
,
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]