Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Circle top / bottom / left / right attribs #225

Open
itzpr3d4t0r opened this issue Jul 23, 2023 · 2 comments
Open

Circle top / bottom / left / right attribs #225

itzpr3d4t0r opened this issue Jul 23, 2023 · 2 comments
Labels

Comments

@itzpr3d4t0r
Copy link
Member

itzpr3d4t0r commented Jul 23, 2023

Would allow to get these points:
image
While avoiding having to write:

c.y - c.r  # top
c.x + c.r  # right
c.y + c.r  # bottom
c.x - c.r  # left
@novialriptide
Copy link
Member

Perhaps Circle.get_point_at(rad)
so doing get_point_at(0) could return top, then etc

@itzpr3d4t0r
Copy link
Member Author

itzpr3d4t0r commented Aug 3, 2023

Possibly both? so you'd have a concise way of getting those simple points and a more elaborate one for all the others?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants