Commit Graph

17 Commits (1ceae28ade5e892793c5d0b4c86c97241d1756c4)

Author SHA1 Message Date
Dmitry Baranovskiy ae7f54ff57 Merge pull request #309 from dirtyrottenscoundrel/fix-cb-for-set-animate
Fix Set.animate callback
2015-04-02 22:09:20 +11:00
John Guidry 29aa1048bc Fix Set.animate callback 2014-09-30 23:10:23 -05:00
baranovs 59e4a15cda Added toDataURL() methods to paper and element. Extracted element methods as module. 2014-08-13 22:46:40 +10:00
Dmitry Baranovskiy d2b729cd16 Prefixed values
Added ability to specify attributes as `"+=10"` or `"-=1em"` or `"*=2"`
Bug #243.
2014-05-15 16:58:04 +10:00
Dmitry Baranovskiy 48a5f6ae79 Added docs to `animateEach` 2014-05-13 00:10:07 +10:00
Dmitry Baranovskiy f5d9ff5bb7 Formatting clean up after merging pull request. 2014-05-08 10:33:20 +10:00
Michael Tiller 985d3dec10 Adding a way to specify how attributes are bound on Set objects
This commit is backward compatible with previous versions but adds a new option for handling
attribute applications on Set objects.  The normal behavior (of applying the attribute
to all elements in the set) is preserved unless the developer explicitly defines how
the attribute should be treated.  This relatively simply change allows three useful
cases.  First, the user can specify that an attribute to applied to a specific element.
Second, it allows pseudo-attributes to be defined and applied to a specific element.  Finally,
and most powerfully, it allows the user to specify a function to be called when a given
attribute is set.  That function can, of course, apply the attribute to a number of
different elements.

This commit includes test cases for all these cases.
2014-05-07 08:38:26 -04:00
Dmitry Baranovskiy c55f03745d Big commit:
→ Added Paper.mask(), Paper.svg(), Paper.ptrn()
→ getBBox() fix
→ Added Set.animate() and Set.animateEach()
→ mask & pattern are sharing paper methods
→ Added to tranform output total and totalMatrix
→ Added reference of mina in inAnim() method
→ Initial support for <object> tag
2014-05-06 10:13:22 +10:00
Dmitry Baranovskiy 913d1d578b Fix for #122 and added Set.remove() method 2013-11-20 11:42:25 +11:00
Mike Sierra ea2fee7d2a GLOBAL: no & in text 2013-10-09 21:13:54 -04:00
Mike Sierra 5d6091fb0a GLOBAL: standardize method descriptions 2013-10-09 20:56:44 -04:00
Mike Sierra 90a2c1bfc3 GLOBAL: remove 'will' 2013-10-09 14:49:30 -04:00
Mike Sierra 96ea9f1d5f EDIT Set.clear 2013-10-09 13:39:12 -04:00
Dmitry Baranovskiy a27e4043a1 Change name to Snap.svg. Added dr.js to grunt via grunt-exec 2013-09-25 15:52:57 +10:00
Dmitry Baranovskiy 38696874c1 Fix for bug #17. New method Savage.angle. Fixed handling of <defs>. Fix use.getBBox. New method Element.toDefs(). Fix for gradient rgba. Fix for double defs. 2013-09-19 21:03:24 +10:00
Dmitry Baranovskiy ec5eabeb82 Added API Reference in TopCaoat style 2013-09-02 14:26:51 +10:00
Dmitry Baranovskiy b7d0985f5d Rearrange & rename files 2013-08-27 10:43:48 +10:00