Draw rectangles on a nativeRaster image

nr_rect(nr, x, y, w, h, fill = "black", colour = NA)

Arguments

nr

nativeRaster image

x, y

coordinates of lower left corner of rectangle. [vector]

w, h

width and height of rectangle. [vector]

fill

interior fill colour [vector]

colour

outline colour. Default: NA. [vector]