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

Performing boolean operation on the Stroke? #3

Open
elebumm opened this issue Jul 29, 2019 · 2 comments
Open

Performing boolean operation on the Stroke? #3

elebumm opened this issue Jul 29, 2019 · 2 comments

Comments

@elebumm
Copy link

elebumm commented Jul 29, 2019

I am attempting to use the offset to subtract the stroke from a rectangle but am unable to do this. Are boolean operations available?

@ceremcem
Copy link

AFAIK It's not possible because this library does not convert polyline to polygon and such a boolean operation needs polygon: https://groups.google.com/forum/#!topic/paperjs/AGaw43KpJzE

@ceremcem
Copy link

Here is your fiddle that shows the PaperOffset.offsetStroke() usage: https://jsfiddle.net/ceremcem/yLzc1a49/30/

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