Draw rectangles on a nativeRaster
image
nr_rect(nr, x, y, w, h, fill = "black", color = NA)
nativeRaster
coordinates of lower left corner of rectangle. [vector]
width and height of rectangle. [vector]
interior fill color [vector]
outline color. Default: NA. [vector]
Original nativeRaster
modified in-place