mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-04-23 07:14:43 +00:00
Update README.
This commit is contained in:
parent
b89a797ccc
commit
cd5f2cd6aa
1 changed files with 4 additions and 9 deletions
13
README.md
13
README.md
|
|
@ -57,13 +57,9 @@ Fabric.js started as a foundation for design editor on [printio.ru](http://print
|
|||
|
||||
### Demos
|
||||
|
||||
- [Kitchen-sink (Main demo)](http://kangax.github.com/fabric.js/test/demo/)
|
||||
- [Miscellaneous demos](http://kangax.github.com/fabric.js/demos/)
|
||||
- [Benchmark (quantity)](http://kangax.github.com/fabric.js/test/benchmarks/quantity.html)
|
||||
- [Benchmark (animation)](http://kangax.github.com/fabric.js/test/benchmarks/animation.html)
|
||||
- [Benchmark (Raphael vs. Fabric; simple shapes)](http://kangax.github.com/fabric.js/test/raphael_vs_fabric/simple_shapes.html)
|
||||
- [Benchmark (Raphael vs. Fabric; complex shape 1)](http://kangax.github.com/fabric.js/test/raphael_vs_fabric/complex_shape.html)
|
||||
- [Benchmark (Raphael vs. Fabric; complex shape 2)](http://kangax.github.com/fabric.js/test/raphael_vs_fabric/complex_shape_2.html)
|
||||
- [Demos](http://kangax.github.com/fabric.js/demos/)
|
||||
- [Kitchensink demo](http://kangax.github.com/fabric.js/demos/kitchensink)
|
||||
- [Benchmarks](http://kangax.github.com/fabric.js/benchmarks)
|
||||
|
||||
### Documentation
|
||||
|
||||
|
|
@ -75,9 +71,8 @@ Also see [presentation from BK.js](http://www.slideshare.net/kangax/fabricjs-bui
|
|||
|
||||
#### Adding red rectangle to canvas
|
||||
|
||||
<canvas id="canvas" width="300" height="300"></canvas>
|
||||
<canvas id="canvas" width="300" height="300"></canvas>
|
||||
...
|
||||
|
||||
var canvas = new fabric.Canvas('canvas');
|
||||
|
||||
var rect = new fabric.Rect({
|
||||
|
|
|
|||
Loading…
Reference in a new issue