Skip to content

[documentation] How to use Flattening? #70

Open
@hxse

Description

@hxse

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions