Commit graph

130 commits

Author SHA1 Message Date
Andrea Bogazzi
143c0758a7 add excludeFromExport property (#2976)
* add excludeFromExport property
* added test for SVG and JSON
2016-05-17 12:56:34 +02:00
Andrea Bogazzi
11fd746c1e Use scaled canvas dimensions (#2972) 2016-05-15 13:07:32 +02:00
Andrea Bogazzi
cb0c71e1fe * Remove rounding for minScaleLimit, added test.
* Remove rounding for minScaleLimit
2016-05-14 18:38:48 +02:00
Andrea Bogazzi
13026beecb Control customization part 4 - draw selection background (#2950) 2016-05-08 09:55:34 +02:00
Andrea Bogazzi
b99eebd324 Control cusomization part 3 - allow for rounded corners (#2942)
Using Object.cornerStyle = 'circle' or 'rect'
2016-05-05 20:22:17 +02:00
Andrea Bogazzi
0410aae841 Control customization part 2 - Allow for separate corner filling and cornerStroke (#2933) 2016-05-04 22:44:30 +02:00
Andrea Bogazzi
3c9fb411c4 Control customization part 1 - Set dashed line to controls and borders (#2932)
added:
cornerDashArray
borderDashArray
borderScaleFactor influences both border and controls now
changed default corner size to 13: (a default size of 12 is always out of focus when borders are on focus and viceversa, at least now they are same. difference is not noticeable because the 1st and 12th pixel where always across 2 different pixels)
2016-05-03 10:16:19 +02:00
Andrea Bogazzi
e032cae7d1 Set line dash in external function (#2928)
* move dashed code in function for later reuse in controls
* Added functionTest
2016-05-02 11:33:09 +02:00
Andrea Bogazzi
6fd1f8aa21 Add missing stroke.live translation, allow gradientTransform for dashed line. 2016-05-01 14:29:45 +02:00
Andrea Bogazzi
200632015f Allow hoverCursor to appear on non selectable objects. (#2924)
Fixed regression from #2907, added object.moveCursor
2016-05-01 03:06:20 +02:00
Andrea Bogazzi
f88711a526 Docs links, remove last forward slash (#2917) 2016-04-28 23:33:40 +02:00
Andrea Bogazzi
c84bce2703 Fire canvas mouse:out when the mouse leave the canvas (#2907)
* Add support for mouseOut out of the canvas.
Clear the _hoveredTarget and fire mouseout on the previous hovered if any.
Make selection of small object easier.
2016-04-26 02:05:58 +02:00
Andrea Bogazzi
c815f22d3e Merge pull request #2842 from asturur/bordersAddWithU
Do not draw control borders in normal group with active objects
2016-03-23 17:42:21 +01:00
Andrea Bogazzi
8410796872 drw controls and borders just if you are in active group ora active 2016-03-17 09:07:47 +01:00
Andrea Bogazzi
91bf1fbacf Update object.class.js 2016-02-25 08:10:38 +01:00
Andrea Bogazzi
bd345a39d5 Update object.class.js 2016-02-25 00:50:10 +01:00
Andrea Bogazzi
db068d59c9 enlarge shadow if retina scaling is active 2016-02-24 08:45:15 +01:00
Andrea Bogazzi
701a62053d make group transform support general transforms 2015-10-24 15:38:46 +02:00
Andrea Bogazzi
cda0611326 Add support for skew objects. 2015-09-17 14:22:12 +02:00
Andrea Bogazzi
8ff217c59a Update object.class.js 2015-08-13 22:28:06 +02:00
Andrea Bogazzi
5966b5e319 toObject returns deep cloning if necessary 2015-08-11 11:10:51 +02:00
Andrea Bogazzi
ba8e97dd33 Update object.class.js 2015-08-10 15:45:14 +02:00
Andrea Bogazzi
3c132945c2 Update object.class.js 2015-08-10 01:54:17 +02:00
Andrea Bogazzi
66bf218885 Update object.class.js 2015-08-10 01:29:57 +02:00
Juriy Zaytsev
20e97924f4 Make sure image props are output properly 2015-07-20 13:56:20 -04:00
Andrea Bogazzi
215ed8b9b8 Merge pull request #24 from kangax/master
asd
2015-07-20 01:23:17 +02:00
Andrea Bogazzi
8573c755b6 Update object.class.js 2015-07-18 00:50:56 +02:00
Juriy Zaytsev
2171dd1379 Output less irrelevant information in fabric.Image#toObject 2015-07-17 17:42:30 -04:00
Juriy Zaytsev
8791741c9f Merge pull request #2237 from inssein/textbox
Textbox Implementation - from Jaffer Haider
2015-07-13 18:34:58 -04:00
sapics
7e9f17186f just code simpler 2015-06-11 11:16:41 +09:00
Andrea Bogazzi
a745e41849 Added rotation logic to getLocalPointer, removed no more usefull getLocalRotatedPointer 2015-06-08 07:59:07 +02:00
inssein
d08dabc2ab forgot setOnGroup additions 2015-05-31 22:45:33 -07:00
Andrea Bogazzi
1f84378565 obect stroke restoring was missing 2015-05-09 11:05:05 +02:00
Andrea Bogazzi
9691acdc2c Update object.class.js 2015-05-08 08:29:03 +02:00
sapics
fe65503e11 fix only coding style 2015-04-21 09:53:19 +09:00
Andrea Bogazzi
6c24ec06f6 Update object.class.js 2015-04-17 01:24:05 +02:00
Andrea Bogazzi
75142bd9c0 Update object.class.js 2015-04-16 21:11:02 +02:00
Andrea Bogazzi
d7f0fea8a2 avoid unnecesary save and restore per object 2015-04-08 09:08:05 +02:00
Juriy Zaytsev
5f988a2600 Merge pull request #2083 from asturur/changes-in-rendering
Changes in rendering
2015-04-06 02:52:41 +02:00
Andrea Bogazzi
1550c9d154 Update object.class.js 2015-04-04 14:12:02 +02:00
Andrea Bogazzi
26b91222e9 Update object.class.js 2015-04-04 13:45:50 +02:00
sapics
c90062c78e Remove overlap definition of setAngle in jsdoc 2015-03-30 10:27:08 +09:00
Andrea Bogazzi
55d6f300f6 Update object.class.js 2015-02-12 20:27:20 +01:00
Andrea Bogazzi
f72b55283d Update object.class.js 2015-02-04 21:37:32 +01:00
Andrea Bogazzi
a6f240285c Update object.class.js
Fix the shadow and canvas zoom problem.
2015-02-04 17:29:59 +01:00
kangax
df888e47cc Mention read-only nature of “type” 2015-01-13 12:53:25 +01:00
Shaw
0a52d59239 toDataURL via StaticCanvas
Fix for `toDataURL` not working without interaction module (issue #1891)
2014-12-12 13:10:59 -06:00
kangax
77434e6086 Add docs on originX/originY and setCoords 2014-12-07 12:56:57 +01:00
Juriy Zaytsev
f125941e21 Merge pull request #1825 from asturur/Line-tests
Line accuracy issue in pathgroup with high zoom level
2014-11-22 14:26:01 +01:00
Andrea Bogazzi
f4385b2de9 Fix line accuray issue, remove some duplicate code, do not force width = 1 on 0. Fix object render method to render 0-dimensions lines
Check how this version could behave in general rendering.
2014-11-20 22:34:47 +01:00