Commit graph

16 commits

Author SHA1 Message Date
Andrea Bogazzi
4c2e59a3cd
modified shadow tosvg (#4934) 2018-04-28 01:17:45 +02:00
Andrea Bogazzi
c03111824c Update deps (#4315)
* try replace tests
* modified tests for new qunit
* lint tests
2017-09-17 11:44:57 +02:00
Andrea Bogazzi
08f60adbea switch to eslint (#3229)
* switch to eslint 2.x
* fix src
* fix tests
2016-09-10 15:14:23 +02:00
Andrea Bogazzi
4dd392ca56 Added tests for flipped object 2016-03-27 22:58:02 +02:00
Andrea Bogazzi
dfc574c099 Fix tests removing extra context.Restore(); 2016-02-07 18:23:14 +01:00
Andrea Bogazzi
27ee9d3f70 add test for rotated object 2015-12-07 22:40:24 +01:00
Andrea Bogazzi
842af5d993 change svg header to use viewbox 2015-11-22 14:32:11 +01:00
Andrea Bogazzi
63c4187939 Update shadow.js 2015-10-21 11:32:48 +02:00
Andrea Bogazzi
e41088329d Update shadow.class.js 2015-07-17 14:13:21 +02:00
sapics
c15e40117c Fix unit test of shadow 2015-04-21 14:23:04 +09:00
Andrea Bogazzi
6605880f4b Update shadow.js 2015-01-18 17:29:37 +01:00
Andrea Bogazzi
b9f37586b3 Update text.js 2014-10-26 22:42:55 +01:00
kangax
ae5973676a Support includeDefaultValues in shadow serialization 2013-10-25 09:05:39 +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
kangax
5ee9b13a92 Add support for shadows (via fabric.Shadow) 2013-02-04 20:49:05 +01:00