sapics
563ec42196
fix space and linebreak
2015-04-20 09:51:32 +09:00
Andrea Bogazzi
568e2ed2c0
attemp to fix jscs crash
2015-03-31 01:46:38 +02:00
sapics
ca10ee0d28
support check for setLineDash
2015-02-28 21:42:24 +09:00
KJ Tsanaktsidis
ef81b23d85
Fix base throwing error when strokeDashArray unitialized
...
Other places in the codebase guard the call to ctx.setLineDash,
so this should happen here too.
2015-02-24 14:34:47 +11:00
Thomas Kaltz III
3f9fc4c745
rename to strokeDashArray
2015-01-15 13:37:28 -08:00
Thomas Kaltz III
092c81272e
Rename to strokeDashArray and default to null
2015-01-15 13:36:26 -08:00
Thomas R Kaltz III
a7f233c8f3
Allow the use of lineDashArray with the free drawing tool.
2014-12-30 01:20:53 -05:00
Andrea Bogazzi
36905d317f
Update pencil_brush.class.js
2014-11-05 19:56:57 +01:00
Andrea Bogazzi
3257d9a2d9
Update pencil_brush.class.js
...
Remover UtilMin e UitlMax
2014-10-12 18:18:22 +02:00
Andrea Bogazzi
d48f0833f1
Update pencil_brush.class.js
...
Simplified path creation process.
This removed calculation are handled by path class anyway.
2014-10-12 18:06:20 +02:00
kangax
818ab118b3
JSCS changes; Prepare for JSCS ignore support; down to 51 failures
2014-08-03 16:47:27 +02:00
Stefan Kienzle
045ce8b6bf
Fix freedrawing (bug exists since commit #6b5f049bb0a459dd29e2927ed99094b3e7baec66)
2014-07-22 11:52:18 +02:00
Stefan Kienzle
6b5f049bb0
JSDoc + JSCS tweaks - Part 2
2014-07-18 11:16:23 +02:00
Tom French
a4129c31e8
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
dist/fabric.min.js
dist/fabric.min.js.gz
dist/fabric.require.js
src/canvas.class.js
2014-07-03 16:02:43 +01:00
kangax
492253e5ca
JSCS tweaks. Down to 114 failures.
2014-06-24 14:12:17 +02:00
Tom French
8c826a3204
Fixes for controlsAboveOverlay
2014-06-06 17:36:17 +01:00
Tom French
009c5389bf
JSHint, restoring .gitignore
2014-05-31 18:08:33 +01:00
Tom French
0d8db88e71
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
.gitignore
dist/fabric.js
dist/fabric.require.js
src/brushes/circle_brush.class.js
src/canvas.class.js
src/mixins/canvas_events.mixin.js
src/mixins/object_geometry.mixin.js
src/mixins/object_interactivity.mixin.js
src/shapes/group.class.js
src/shapes/image.class.js
src/shapes/object.class.js
src/shapes/path_group.class.js
src/shapes/text.class.js
2014-05-31 17:29:55 +01: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
Tom French
ce4809d1e8
Merge branch 'master' of https://github.com/kangax/fabric.js
...
Conflicts:
dist/all.js
dist/all.require.js
src/brushes/circle_brush.class.js
src/brushes/spray_brush.class.js
src/canvas.class.js
src/mixins/canvas_events.mixin.js
src/mixins/object_interactivity.mixin.js
src/shapes/group.class.js
src/shapes/image.class.js
src/shapes/object.class.js
src/util/misc.js
2013-12-05 19:45:39 +00:00
Tom French
08d575422c
Fixes to zoom for groups and brushes.
2013-11-19 16:21:29 +00:00
kangax
4556c7bf45
Fix origins of free-drawing paths and shapes
2013-11-10 11:24:45 +01:00
Tom French
88b589b3d6
Implement zoom for brushes, various zoom fixes, remove canvasBorder.
2013-11-08 15:54:55 +00:00
kangax
f5775eb2f4
Add rectangles optimization to Spray brush
2013-09-28 23:47:53 +02:00
Kienz
fa2f18a77a
Add more docs.
...
Examples, tutorial and demo links.
2013-09-28 12:31:32 +02:00
Kienz
ba2a0e6dff
Fixed fabric.PatternBrush- brush style was not applied during the drawing mode
2013-09-16 19:05:23 +02:00
kangax
f5f29a3925
Create group of circles in CircleBrush for better performance. Closes #530
2013-09-14 13:59:10 +02:00
kangax
44265e3c97
Create group of rectangles in spray brush for better performance
2013-09-14 13:55:21 +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
b63a943137
Renamed property renderOnAddition to renderOnAddRemove
...
fabric.Canvas.renderAll can now be disabled on removing objects (renderOnAddRemove = false)
Add tests for renderOnAddRemove (add, insertAt and remove)
jsdoc additions
2013-08-07 21:01:45 +02:00
Stefan Kienzle
473663aea1
Merge pull request #767 from MeLight/master
...
Single click in freedrawing mode now works for pencil brush, circle brush and pattern_brush - fixes #756
2013-08-02 10:25:19 -07:00
Yuri Shmorgun
25b12d3cd7
Renamed putPaint to drawDot
...
Fixed more styling issues
2013-07-30 21:33:45 +03:00
Yuri Shmorgun
b507c0c18d
Fixed tabs
2013-07-29 00:31:12 +03:00
Kienz
e6188e55f3
Set object shadow and context shadow only if shadowColor is set
...
Otherwise toSVG() returns for every brush object a shadow filter
2013-07-28 18:36:29 +02:00
melight
f9438fd66d
Gah. Fixed tabs and spaces. Again.
2013-07-27 01:24:47 +03:00
melight
26bf1b78f3
Fixed indentations issues too!
2013-07-27 01:17:08 +03:00
Yuri Shmorgun
de9b077469
Fixed JSHint issues from previous commit
2013-07-25 20:43:42 +03:00
Yuri Shmorgun
d5de9042cd
Issue #756 fixed - single click in free drawing mode now works for pencil brush, circle brush and pattern_brush (inherits pencil brush fix)
2013-07-24 23:30:48 +03:00
kangax
45017eeed2
Fire 'path:created' event for circle and spray brushes
2013-07-16 23:46:11 +02:00
kangax
221146997c
Fix pattern initialization from function string. Closes #442 . Version 1.1.18
2013-06-02 22:07:16 +02:00
kangax
1c1b7e4b95
Fix function body matching regex. Add fabric.util.getFunctionBody
2013-06-01 18:08:36 +02:00
kangax
46183d8a85
Fix function body regex to match in IE. Closes #658
2013-06-01 17:48:46 +02:00
kangax
1ed4e40bdf
Move brushes to /brushes and mixins to /mixins. Organize ATTRIBUTE_NAMES to use fabric.SHARED_ATTRIBUTES.
2013-05-18 16:43:49 +02:00