asturur
12c2fb82c3
Update shadow.class.js
...
At the end was a bad idea. If we call new fabric.Shadow() we should get a shadow whatever we pass as an argument.
2014-06-24 15:39:31 +02:00
asturur
79d035d27e
Update shadow.class.js
...
Shadow return null if null is passed.
Makes .setShadow(null) works.
2014-06-24 13:16:42 +02:00
kangax
d2f6a9033e
Add JSCS validation & change bunch of things for conformance. Down to 333 failures from ~1000.
2014-02-16 16:36:14 -05:00
kangax
ae5973676a
Support includeDefaultValues in shadow serialization
2013-10-25 09:05:39 +02:00
kangax
476da71e92
Doc changes
2013-10-25 09:05:39 +02:00
Kienz
fa2f18a77a
Add more docs.
...
Examples, tutorial and demo links.
2013-09-28 12:31:32 +02:00
Kienz
721ac7a8c2
Doc additions - document object parameter
2013-09-17 22:42:58 +02:00
Stefan Kienzle
d190c31e8b
Renamed fabric.Shadow.getShadow to fabric.Shadow.toString
2013-09-05 18:09:34 +02:00
Kienz
8c74f2b335
[BACK_INCOMPAT] fabric.Text#textShadow has been removed - new fabric.Text.shadow property (type of fabric.Shadow)
...
[BACK_INCOMPAT] `fabric.BaseBrush`shadow properties are combined into one property => `fabric.BaseBrush.shadow`(shadowColor, shadowBlur, shadowOffsetX, shadowOffsetY no longer exist)
Removed fabric.Text.getText method => is generated with `fabric.util.createAccessors`
`fabric.Shadow` can now initialized with string or object (e.g. '10px 10px 5px rgb(0,0,255)', 'rgb(0,0,255) 10px 10px 5px', {color: 'gb(0,0,255)', offsetX: 10, offsetY: 10, blur: 5})
`fabric.Shadow.getShadow`to get css3 declaration of shadow (String)
`fabric.Object.set('shadow', value)`is now the same as `fabric.Shadow.setShadow(value)`
Add unit tests
2013-09-03 19:11:21 +02:00
Kienz
92bdebfde7
Doc fixes, Update README (1800+ unit tests)
2013-08-08 18:31:26 +02:00
kangax
34b5eee748
Increase dimensions of svg filter region to avoid clipping
2013-07-27 19:52:44 +02:00
kangax
7a46482328
Add shadow toSVG support. Version 1.2.7
2013-07-25 19:39:21 +02:00
kangax
4e5f5badc0
Avoid trailing comma in shadow.class.js when toSVG is stripped. Thanks @danielbeardsley
2013-07-08 12:39:19 +02:00
kangax
2223b1b61f
Remove more functions in distribution when SVG import (parser) is not included. Always include stateful mixin. Closes #662
2013-05-30 21:55:26 +02:00
kangax
4e1a26cc11
Update docs
2013-04-25 14:21:32 -04:00
kangax
c16dcf88a4
Change inline docs to conform to jsdoc3
2013-04-24 12:58:04 -04:00
kangax
d9291fbfe5
Add shadow support to brushes
2013-02-06 23:55:15 +01:00
kangax
5ee9b13a92
Add support for shadows (via fabric.Shadow)
2013-02-04 20:49:05 +01:00