📄️ Arc
To create an arc shape with Konva, we can instantiate a Konva.Arc() object.
📄️ Arrow
To create an arrow shape with Konva, we can instantiate a Konva.Arrow() object.
📄️ Circle
To create a circle shape with Konva, we can instantiate a Konva.Circle() object.
📄️ Custom Shape
To create a custom shape with Konva, you can use the Konva.Shape() object and define a custom drawing function.
📄️ Ellipse
To create an ellipse shape with Konva, we can instantiate a Konva.Ellipse() object.
📄️ Group
To create a group of shapes with Konva, we can instantiate a Konva.Group() object.
📄️ Image
To create an image with Konva, you can use the Konva.Image() object.
📄️ Label
To create a label with Konva, you can use the Konva.Label() object.
📄️ Line
To create line shapes with Konva, we can instantiate a Konva.Line() object. Lines can be configured in different ways to create various shapes like simple lines, splines, blobs, and polygons.
📄️ Line - Blob
To create a blob with Konva, we can instantiate a Konva.Line() object with both closed and tension properties.
📄️ Line - Polygon
To create a polygon with Konva, we can instantiate a Konva.Line() object with the closed property set to true.
📄️ Line - Simple Line
To create a simple line with Konva, we can instantiate a Konva.Line() object.
📄️ Line - Spline
To create a spline (curved line) with Konva, we can instantiate a Konva.Line() object with the tension property.
📄️ Path
To create a custom path shape with Konva, we can instantiate a Konva.Path() object.
📄️ Rectangle
To create a rectangle with Konva, we can instantiate a Konva.Rect() object.
📄️ Regular Polygon
To create a regular polygon shape with Konva, we can instantiate a Konva.RegularPolygon() object.
📄️ Ring
To create a ring with Konva, you can use the Konva.Ring() object.
📄️ Sprite
To create an animated sprite with Konva, we can instantiate a Konva.Sprite() object.
📄️ Star
To create a star with Konva, you can use the Konva.Star() object.
📄️ Text
To create text with Konva, we can instantiate a Konva.Text() object.
📄️ TextPath
To create text that follows a path with Konva, we can instantiate a Konva.TextPath() object.
📄️ Wedge
To create a wedge (pie piece) shape with Konva, we can instantiate a Konva.Wedge() object.