vline_at {cursr}R Documentation

Draw Vertical Line

Description

Draws a vertical line of length n at (row, col)

Usage

vline_at(yx, n, text = "|", ...)

Arguments

yx

(row, col) coordinates where top of the line should be drawn.

n

integer describing the character length of the line

text

character to be repeated

...

parameters that are passed to style(), including the foreground color fg, background color bg, and attribute attr

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_rect(), fill_shape(), grid_at(), grid_mat(), hline_at(), hline(), vline()

Examples

vline_at(c(3,4),6,"|") # print "|" at (3,4), ..., (8,4)


[Package cursr version 0.1.0 Index]