KonvaJS Lesson 16: Line Polygon & Spline

Опубликовано: 06 Июнь 2026
на канале: Rocky DeRaze
2,903
13

How to make a Polygon using Line element in KonvaJS?

How to make a curved Spline element using the Line element?

In this video, I talk about how you can extend the Line element to make a Polygon and a Spline. I talk about the closed attribute that makes the Polygon, and also the tension attribute that is used to make the Spline element.


CDN link for KonvaJS: https://cdn.rawgit.com/konvajs/konva/...
HTML Color Codes: http://htmlcolorcodes.com/
KonvaJS: http://konvajs.github.io/
Follow me on twitter:   / rockyderaze  
Anton Lavrenov on twitter:   / lavrton  

How to create a Line Polygon and a Spline using KonvaJS by Rocky DeRaze