Commit graph

3380 commits

Author SHA1 Message Date
Jonathan Puckey
f6cf20fa8c Improve Paperoids example. 2013-03-10 15:58:27 +01:00
Jonathan Puckey
fd3fc7f2d7 Implement Item#setParent, making Item#parent writeable. Closes #186. 2013-03-10 15:35:33 +01:00
Jonathan Puckey
25d34be59b Implement Item#data. Closes #188. 2013-03-10 14:59:53 +01:00
Jonathan Puckey
78200e715b Improve Future Splash example. 2013-03-09 23:37:56 +01:00
Jonathan Puckey
ee141ca98d Improve Division Raster example. 2013-03-09 18:51:04 +01:00
Jonathan Puckey
c9e95d2c01 Improve examples. 2013-03-09 16:28:53 +01:00
Jonathan Puckey
ace2e3e13b Improve several examples. 2013-03-09 16:02:11 +01:00
Jonathan Puckey
2dfe491212 Improve PathStructure example. 2013-03-09 15:58:39 +01:00
Jonathan Puckey
421c3c19e3 Remove Letter example. 2013-03-09 15:26:59 +01:00
Jonathan Puckey
ba86ec8688 Remove Circle example.
Removing because the example doesn't really show off anything.
2013-03-09 15:01:46 +01:00
Jonathan Puckey
d4bbb84699 Fix Nyan Rainbow example. 2013-03-09 14:33:48 +01:00
Jonathan Puckey
304ca32d45 Fix Paperoids example. 2013-03-07 14:45:51 +01:00
Jürg Lehni
b8ca30a4cd Add support for GradientColor object literal constructor.
And introduce getter / setter for #gradient.
2013-03-05 20:41:36 -08:00
Jürg Lehni
1d1e6425fa Remove all left-overs of call chaining, except for where it's in use. 2013-03-05 20:39:07 -08:00
Jürg Lehni
0e72dbd2e0 Rename Color#getCanvasStyle() to #toCanvasStyle(). 2013-03-05 19:58:41 -08:00
Jürg Lehni
52af99de6b Fix issue with click events on items.
Closes #179.
2013-03-05 15:44:22 -08:00
Jürg Lehni
8185cc07e7 Clean up mouse-handling code and add support for Project#options.hitTolerance. 2013-03-05 15:44:03 -08:00
Jürg Lehni
80600d2a2b Fix issue with removeOnMove() calls sometimes removing items too early.
Closes #181.
2013-03-05 15:22:44 -08:00
Jürg Lehni
c0392b837c Simplify PathIntersections example. 2013-03-05 15:09:46 -08:00
Jürg Lehni
06beb0141b Follow same naming conventions as with other examples. 2013-03-05 15:05:39 -08:00
Jürg Lehni
7ca22cd260 Clean up mouse handling code. 2013-03-05 14:57:41 -08:00
Jürg Lehni
31c06b4a61 Switch to short form of _type for GradientColor, similar to all other colors. 2013-03-05 11:00:50 -08:00
Jonathan Puckey
845e8cfa1b Optimize and clean up Tadpoles example. 2013-03-05 14:34:19 +01:00
Jonathan Puckey
bef908a72e Merge branch 'master' of https://github.com/paperjs/paper.js 2013-03-05 11:29:54 +01:00
Jürg Lehni
97e85d66db Fix issue with object literal properties being accidentally misread as path segments.
Closes #177.
2013-03-05 00:28:21 -08:00
Jonathan Puckey
841c99d6d8 Fix Paperoids example and use Path#getIntersections for collision detection. 2013-03-04 20:39:13 +01:00
Jonathan Puckey
2666e60f28 Fix Path#getTangentAt example. 2013-03-04 12:37:55 +01:00
Jonathan Puckey
2d103dd792 Improve and fix example documentation. 2013-03-04 12:09:58 +01:00
Jonathan Puckey
97451320b9 Fix Item#type documentation. 2013-03-04 10:54:08 +01:00
Jürg Lehni
849d3efc2e Have PathItem#setPathData() clear the previous content. 2013-03-03 16:56:48 -08:00
Jürg Lehni
8a69fcd1e5 Actually use precision setting in Path#getPathData(). 2013-03-03 16:51:31 -08:00
Jürg Lehni
7b7168feb1 Fix reading of rectangle in Path.Constructor.
And all tests are green again.
2013-03-03 15:29:15 -08:00
Jürg Lehni
7294c5499c Simplify Base.readNamed() methods. 2013-03-03 15:28:55 -08:00
Jürg Lehni
7782116e06 Fix issues with Rectangle constructor.
Reading from { from: , to: } now works as expected.
2013-03-03 15:24:30 -08:00
Jürg Lehni
7a30de4784 Add one more Rectangle test. 2013-03-03 15:23:58 -08:00
Jürg Lehni
1cb1da0b26 Fix wrong assumptions in Path.Constructor tests. 2013-03-03 15:23:33 -08:00
Jürg Lehni
9c5c7997d4 Fix test for Rectangle({from:, to: }) constructor. 2013-03-03 15:07:15 -08:00
Jürg Lehni
c9e337836a Move BouncingBalls example to Paper.js folder. 2013-03-03 14:38:27 -08:00
Jürg Lehni
3856302282 Fix Item#type tests, by adapting to new camel-cased version. 2013-03-03 14:22:31 -08:00
Jürg Lehni
7eb9df61b3 Update JSON for Tiger example. 2013-03-03 14:19:29 -08:00
Jonathan Puckey
7643085378 Path example documentation. 2013-03-03 20:48:03 +01:00
Jonathan Puckey
ace98d689f Fix Item#type test. 2013-03-03 20:14:13 +01:00
Jonathan Puckey
fa861f2047 Improve example documentation. 2013-03-03 20:10:25 +01:00
Jonathan Puckey
801eb0f2a8 Add example to Segment#selected docs. 2013-03-03 20:09:41 +01:00
Jonathan Puckey
378d54b126 Add missing parameter to Symbol constructor docs. 2013-03-03 20:09:14 +01:00
Jonathan Puckey
343dac35b1 Add tests for Item#sendToBack & Item#bringToFront. 2013-03-03 20:08:49 +01:00
Jonathan Puckey
3cdb11fe36 GradientStop & PathItem example documentation. 2013-03-03 19:47:32 +01:00
Jonathan Puckey
cd94ecd7ca Gradient & GradientColor documentation. 2013-03-03 19:07:09 +01:00
Jonathan Puckey
d4c0386e5b Tool example documentation. 2013-03-03 18:56:11 +01:00
Jonathan Puckey
419d9f21af View example documentation. 2013-03-03 18:46:34 +01:00