How to draw a rectangle with rounded corners #1370
Unanswered
espruino-discuss
asked this question in
JavaScript
Replies: 1 comment
-
|
Posted at 2020-03-14 by @allObjects Great... fill though has still some issues: right-top and left-bottom... before it was both right top and bottom. Fill seems obviously a really 'neat' problem to solve. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2020-03-13 by @MaBecker
Graphic lib has a new function that can calculate point on a quadratic bezier curve which can be use to draw quarter circle.
Combine four of them will draw a rectangle with rounded corners.
Attachments:
Beta Was this translation helpful? Give feedback.
All reactions