translateY
ts
function Rect.translateY(rect: Rect, amount: number): RectTranslates (moves) the rectangle vertically by the specified amount.
Example
ts
Rect.translateY({ left: 10, top: 20, width: 100, height: 50 }, 15);
// { left: 10, top: 35, width: 100, height: 50 }ts
pipe({ left: 10, top: 20, width: 100, height: 50 }, Rect.translateY(15));
// { left: 10, top: 35, width: 100, height: 50 }