powered by
Draws a horizontal line of length n at (row, col)
n
(row, col)
hline_at(yx, n, text = "-", ...)
(row, col) coordinates where line should be drawn.
integer describing the character length of the line
character to be repeated
parameters that are passed to style(), including the foreground color fg, background color bg, and attribute attr
style()
fg
bg
attr
NULL
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_rect(), fill_shape(), grid_at(), grid_mat(), hline(), vline_at(), vline()
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_rect()
fill_shape()
grid_at()
grid_mat()
hline()
vline_at()
vline()
# NOT RUN { hline_at(c(3,4),6,"-") # print "------" at (3,4) # }
Run the code above in your browser using DataLab