We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I got different results when do padding on original polygon and on margined polygon.
When I add margin and padding on original polygon, everything works fine (White is original polygon, red is margined, green is padded):
But when I add padding on margined polygon, like
const path = [[10, 0], [60, 0], [70, 80], [50, 122], [30, 90], [3, 32]]; path.push(path[0]); const margined = new Offset(path).margin(5)[0]; const padded = new Offset(margined).padding(10)[0];
I thought it should be something very like
const padded = new Offset(path).padding(5)[0];
But results are
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I got different results when do padding on original polygon and on margined polygon.
When I add margin and padding on original polygon, everything works fine (White is original polygon, red is margined, green is padded):
But when I add padding on margined polygon, like
I thought it should be something very like
But results are
The text was updated successfully, but these errors were encountered: