Increases the distance between points by some factor.
adjust_rectangle(points, v = 0, h = 0)
points | A list containing topleft, topright, bottomleft, and bottomright entries. Each entry must be a named numeric vector of length two with elements "m.cy" and "m.cy", which correspond to the x and y coordinates of each point |
---|---|
v, h | Adjustment distance in vertical and horizontal direction respectively. Must be an integer in pixels. 0 does not change anything in that direction. |