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

[documentation] How to use Flattening? #70

Open
hxse opened this issue Jun 19, 2023 · 0 comments
Open

[documentation] How to use Flattening? #70

hxse opened this issue Jun 19, 2023 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@hxse
Copy link

hxse commented Jun 19, 2023

https://codesandbox.io/s/perfect-freehand-example-forked-szhrx6?file=/src/App.js

const pathData2 = getSvgPathFromStroke(stroke);
const pathData = getFlatSvgPathFromStroke(stroke);

I want to draw smooth lines, without intersect points.
But i get error Input geometry is not a valid Polygon or MultiPolygon

@hxse hxse added the documentation Improvements or additions to documentation label Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant