- From: Ashley (Scirra) via GitHub <noreply@w3.org>
- Date: Mon, 07 Jul 2025 08:14:10 +0000
- To: public-fxtf-archive@w3.org
A few more suggestions from code we use in our web game engine [Construct](https://www.construct.net): ### General-purpose - `offset(dx, dy)` - offset position - `scale(x, y)` - multiply all co-ordinates - `equals(other)` - test exactly equal to another shape (`===` check on all co-ordinates) ### Rectangle only - `inflate(dx, dy)` - decrease left/top position, increase right/bottom position - `normalize()` - ensure right > left and bottom > top -- GitHub Notification of comment by AshleyScirra Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/602#issuecomment-3043924820 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 7 July 2025 08:14:10 UTC