Andrea Bogazzi
0c6a665bcb
Target in group ( #2997 )
...
Added gorup.subTargetCheck, fixed transparent target selected on mouse up, fix text grouping while editing
2016-05-31 11:41:02 +02:00
Andrea Bogazzi
5a6b11ef50
introduce a parameter to choose behaviour of background and overlay ( #3019 )
...
* introduce a parameter to choose behaviour of background and overlay
2016-05-30 23:33:02 +02:00
Andrea Bogazzi
d4e723e49d
update area clearing during rendering ( #3016 )
...
* update area clearing during rendering
* register event in correct way
* re render selection or cursor only if selectionStart changes
2016-05-30 23:22:55 +02:00
Andrea Bogazzi
64bf67b0ab
remove Textbox instances ( #3008 )
2016-05-25 15:00:38 +02:00
Andrea Bogazzi
dd3e6a81e2
do not set background or overlay image if the load fails. ( #3003 )
2016-05-23 14:53:09 +02:00
Andrea Bogazzi
1843581488
Move charWidthCache from iText to fabric, allow single cache for font. ( #2995 )
...
divided cache in a single font cache objects, added method for clearing one font cache.
2016-05-23 08:16:59 +02:00
Andrea Bogazzi
dd0b9f63d3
fix multi line selection regression introduced with #2996
2016-05-21 16:07:00 +02:00
Andrea Bogazzi
dfb5e4e903
Clear only the itext area top context when animating cursor or selection ( #2996 )
2016-05-21 15:29:26 +02:00
Andrea Bogazzi
cfe0e27d19
Update itext_behavior.mixin.js
2016-05-21 15:15:44 +02:00
Andrea Bogazzi
eb9b7f45b9
Add ID to svg export ( #2993 )
2016-05-21 15:07:04 +02:00
Andrea Bogazzi
489230bdf5
add callback with null argument to failed xml load ( #2994 )
2016-05-21 14:34:17 +02:00
Andrea Bogazzi
f425966162
give text its own dimension function ( #2992 )
...
* give text its own dimension function
* updated tests after verifying that the svg import from element is better than previous
2016-05-21 13:05:59 +02:00
Andrea Bogazzi
e8a530019f
remove deadcode ( #2984 )
2016-05-19 21:39:06 +02:00
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
a0ba49ea5d
Use reviver also for background and overlay image in svg export ( #2975 )
...
* Use reviver also for background and overlay image
2016-05-17 02:56:25 +02:00
Andrea Bogazzi
830838b037
Fix export of colors alwaus in rgb + eventually opacity.
2016-05-16 17:22:05 +02:00
Andrea Bogazzi
38bebc2fcb
bump to 1.6.2 and build dist ( #2973 )
2016-05-15 23:59:26 +02:00
Andrea Bogazzi
11fd746c1e
Use scaled canvas dimensions ( #2972 )
2016-05-15 13:07:32 +02:00
Andrea Bogazzi
0297041e2f
Fix iText space width justification ( #2971 )
2016-05-15 12:04:02 +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
56ef2d2612
Update svg export to do not output colors in rgba format.
2016-05-09 12:41:48 +02:00
Andrea Bogazzi
a9cf96b9be
fix imageToObject with resize filters ( #2954 )
...
width and height get stored as before filtering in case of filters with type resize.
2016-05-09 12:11:48 +02:00
Andrea Bogazzi
3ab5cdbc26
bring selectAll on keydown again ( #2951 )
2016-05-08 21:26:25 +02:00
Andrea Bogazzi
fcfc9f45f9
do not override user options.
2016-05-08 21:22:51 +02:00
Andrea Bogazzi
13026beecb
Control customization part 4 - draw selection background ( #2950 )
2016-05-08 09:55:34 +02:00
Andrea Bogazzi
52f1ebd500
Update doc for _initDimension and setFont* methods ( #2949 )
...
* Update text.class.js doc
* added more docs
2016-05-07 09:04:46 +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
e5bedf3ebb
fix itext width calculation with caching false ( #2943 )
2016-05-05 12:59:47 +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
27fd548bd3
Delegate dataURL multiplier to viewport zooming ( #2940 )
...
This temporary viewport change allow correct zooming and scaling of shadow.
2016-05-04 22:35:09 +02:00
Andrea Bogazzi
d7ea78b812
added prototype from basefilter
2016-05-04 20:59:32 +02:00
Andrea Bogazzi
c4911406ac
Fix createSVGFontFacesMarkup ( #2935 )
...
* Update parser.js
2016-05-03 14:05:17 +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
17775fa567
Make iText fires object:modified on text change on exit editing ( #2927 )
...
added some tests also.
2016-05-02 08:25:03 +02:00
Andrea Bogazzi
fab0c05d2a
make Modifier keys customizable ( #2925 )
...
Make the keys used for modifying transformations and multiselect customizable within shiftKey, altKey and ctrlKey
2016-05-02 06:41:55 +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
015af249fa
Update canvas loadFromJSON to restore includeProperties ( #2921 )
...
added test also.
2016-04-30 13:51:12 +02:00
Andrea Bogazzi
f88711a526
Docs links, remove last forward slash ( #2917 )
2016-04-28 23:33:40 +02:00
Andrea Bogazzi
b49882ba83
Stop producing fabric.Element documentation. ( #2915 )
...
fabric.Element is a deprecated alias.
2016-04-28 11:37:53 +02:00
Andrea Bogazzi
940db388a8
Use sendToBack, bringToFront, bringForward, sendBackwards for multiple selections ( #2908 )
...
Use sendToBack, bringToFront, bringForward, sendBackwards for activeGroups.
Visually there is no effect if preserveObjectStacking is set to false.
2016-04-28 11:21:48 +02:00
Andrea Bogazzi
c335cb558e
remove forward slashes in docs urls
2016-04-27 16:02:58 +02:00
Andrea Bogazzi
611c6f7d4b
remove forward slashes in docs urls
2016-04-27 16:01:48 +02:00
Andrea Bogazzi
21ea8c25c5
remove forward slashes in docs urls
2016-04-27 16:01:09 +02:00
Andrea Bogazzi
928009dce9
remove forward slashes in docs urls
2016-04-27 16:00:13 +02:00
Andrea Bogazzi
1768ef48ac
deleted forward slashes in docs urls
2016-04-27 15:54:18 +02:00
Andrea Bogazzi
923b876e4b
Fix docs ending slash for urls
2016-04-27 15:52:57 +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
218ad28f2b
Draw controls only for active target ( #2903 )
2016-04-25 11:06:25 +02:00