Returns four lines based on each corner. Lines are given in order: top, right, bottom, left
const rect = { width: 100, height: 100, x: 100, y: 100 };// Yields: array of length fourconst lines = Rects.lines(rect); Copy
const rect = { width: 100, height: 100, x: 100, y: 100 };// Yields: array of length fourconst lines = Rects.lines(rect);
Optional
Returns four lines based on each corner. Lines are given in order: top, right, bottom, left