add path test

This commit is contained in:
Anton Lavrenov
2019-11-20 13:46:52 -05:00
parent ca1ccdaf82
commit de9a0e24e0
3 changed files with 32 additions and 0 deletions

View File

@@ -111,6 +111,7 @@ export class Path extends Shape<PathConfig> {
data.points[1] + data.points[3]
])
} else {
// TODO: how can we calculate bezier curves better?
points = points.concat(data.points);
}
});