draw_path: Draw Path

Description Usage Arguments Value See Also Examples

View source: R/8-Draw.R

Description

Draws text at each supplied coodinate.

Usage

1
draw_path(coord, text = "x", ...)

Arguments

coord

matrix or list containing (row, col) coordinates.

text

character value drawn at coordinate

...

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_ray(), draw_rect(), draw_shape(), fill_circle(), fill_ellipse(), fill_rect(), fill_shape(), grid_at(), grid_mat(), hline_at(), hline(), vline_at(), vline()

Examples

1
2
c <- path_circle(yx = c(5,5), r=3)
draw_path(c, text="0")

cursr documentation built on Jan. 13, 2021, 7:35 a.m.