konva 10.2.5 → 10.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -6
- package/konva.js +763 -515
- package/konva.min.js +4 -4
- package/lib/BezierFunctions.d.ts +2 -0
- package/lib/BezierFunctions.js +46 -0
- package/lib/Container.js +20 -6
- package/lib/Context.js +6 -0
- package/lib/Factory.d.ts +1 -1
- package/lib/Global.js +1 -1
- package/lib/Node.d.ts +3 -0
- package/lib/Node.js +20 -4
- package/lib/Shape.js +1 -0
- package/lib/Tween.js +10 -4
- package/lib/Util.d.ts +0 -6
- package/lib/Util.js +113 -119
- package/lib/_CoreInternals.d.ts +0 -6
- package/lib/_FullInternals.d.ts +0 -6
- package/lib/shapes/Arc.js +11 -0
- package/lib/shapes/Line.d.ts +2 -0
- package/lib/shapes/Line.js +39 -59
- package/lib/shapes/Path.js +10 -6
- package/lib/shapes/Text.js +3 -4
- package/lib/shapes/TextPath.d.ts +2 -0
- package/lib/shapes/TextPath.js +5 -1
- package/lib/shapes/Transformer.d.ts +3 -0
- package/lib/shapes/Transformer.js +35 -5
- package/package.json +14 -2
package/README.md
CHANGED
|
@@ -4,10 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
<h1 align="center">Konva</h1>
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
<p align="center"><strong>Build interactive graphics, editors, and diagrams for the web.</strong></p>
|
|
8
|
+
|
|
9
|
+
[](https://www.npmjs.com/package/konva)
|
|
8
10
|
[](http://badge.fury.io/js/konva)
|
|
9
|
-
[](https://opencollective.com/konva)
|
|
12
|
+
[](https://github.com/konvajs/konva/actions/workflows/test-browser.yml)
|
|
13
|
+
[](https://github.com/konvajs/konva/actions/workflows/test-node.yml)
|
|
14
|
+
[](https://cdnjs.com/libraries/konva)
|
|
11
15
|
|
|
12
16
|
Konva is an HTML5 Canvas JavaScript framework that enables high performance animations, transitions, node nesting, layering, filtering, caching, event handling for desktop and mobile applications, and much more.
|
|
13
17
|
|
|
@@ -15,9 +19,11 @@ You can draw things onto the stage, add event listeners to them, move them, scal
|
|
|
15
19
|
|
|
16
20
|
This repository began as a GitHub fork of [ericdrowell/KineticJS](https://github.com/ericdrowell/KineticJS).
|
|
17
21
|
|
|
18
|
-
- **Visit:** The [Home Page](
|
|
19
|
-
- **Discover:** [Tutorials](
|
|
20
|
-
- **
|
|
22
|
+
- **Visit:** The [Home Page](https://konvajs.org/) and follow on [Twitter](https://twitter.com/lavrton)
|
|
23
|
+
- **Discover:** [Tutorials](https://konvajs.org/docs/index.html), [API Documentation](https://konvajs.org/api/Konva.html)
|
|
24
|
+
- **Try it:** [Canvas Editor](https://konvajs.org/docs/sandbox/Canvas_Editor.html), [Free Drawing](https://konvajs.org/docs/sandbox/Free_Drawing.html), [Image Crop](https://konvajs.org/docs/sandbox/Canvas_Crop_Image.html), [Window Frame Designer](https://konvajs.org/docs/sandbox/Window_Frame_Designer.html), and [more demos](https://konvajs.org/docs/sandbox.html)
|
|
25
|
+
- **Used by:** [Polotno](https://polotno.com/?utm_source=konvajs) (design editor SDK) and many others — see the full showcase on the [home page](https://konvajs.org/)
|
|
26
|
+
- **Help:** [StackOverflow](https://stackoverflow.com/questions/tagged/konvajs), [Discord Chat](https://discord.gg/8FqZwVT)
|
|
21
27
|
|
|
22
28
|
# Quick Look
|
|
23
29
|
|