---
id: 51
title: Rectangle utility class
state: CLOSED
labels:
  - enhancement
  - help wanted
assignees: []
createdAt: '2019-11-18T01:25:33Z'
updatedAt: '2023-09-15T05:44:41Z'
githubUrl: 'https://github.com/neomjs/neo/issues/51'
author: tobiu
commentsCount: 0
parentIssue: null
subIssues: []
subIssuesCompleted: 0
subIssuesTotal: 0
blockedBy: []
blocking: []
closedAt: '2023-09-15T05:44:41Z'
---
# Rectangle utility class

instead of (or additional to) using the floating mixin, create a Rectangle class which does provide helper methods for aligning components.

e.g. windows, pickers, tooltips

like `alignTo(nodeId, 'tl-br');`

add zones => t r b l => 0 1 2 3 similar to CSS zones

## Timeline

- 2019-11-18T01:25:33Z @tobiu added the `enhancement` label
- 2019-11-18T01:25:33Z @tobiu added the `help wanted` label
- 2023-09-15T05:44:41Z @ExtAnimal closed this issue

