path_rect: Rectangle Path

Description Usage Arguments Value See Also Examples

View source: R/7-Path.R

Description

Calculate the path of a rectangle in a grid.

Usage

1
path_rect(yx1, yx2)

Arguments

yx1

upper-left (row, col) coordinate

yx2

lower-right (row, col) coordinate

Value

Nx2 matrix of (row, column) coordinates

See Also

Other path-fitting functions: path_arc(), path_bezier(), path_circle(), path_ellipse(), path_fill(), path_fn(), path_intersection(), path_lerp(), path_ray(), path_shape()

Examples

1
path_rect(c(5,5), c(9,9))

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