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

Question on ShapeInfo.rectangle #65

Open
brettz9 opened this issue Jul 13, 2021 · 1 comment
Open

Question on ShapeInfo.rectangle #65

brettz9 opened this issue Jul 13, 2021 · 1 comment

Comments

@brettz9
Copy link
Contributor

brettz9 commented Jul 13, 2021

With:

ShapeInfo.rectangle({x: 100, y: 150, width: 30, height: 10});

...I'm getting:

[
  0: Point2D {x: 100, y: 150}
  1: Point2D {x: 200, y: 300}
]

I would have expected the second point to be extrapolated from the height and width. Is this an error, or are the docs that mention mix-and-matching being ok not applicable here?

Thanks!

@thelonious
Copy link
Owner

thelonious commented Jul 17, 2021 via email

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

No branches or pull requests

2 participants