Merge pull request #2624 from asturur/image-border-0

change default strokewidth to 0  for images
This commit is contained in:
Juriy Zaytsev 2015-11-13 09:32:48 +01:00
commit ad12e534a8
3 changed files with 10 additions and 2 deletions

View file

@ -64,6 +64,14 @@
*/
meetOrSlice: 'meet',
/**
* Width of a stroke.
* For image quality a stroke multiple of 2 gives better results.
* @type Number
* @default
*/
strokeWidth: 0,
/**
* private
* contains last value of scaleX to detect

View file

@ -64,7 +64,7 @@
'height': IMG_HEIGHT, // or does it now?
'fill': 'rgb(0,0,0)',
'stroke': null,
'strokeWidth': 1,
'strokeWidth': 0,
'strokeDashArray': null,
'strokeLineCap': 'butt',
'strokeLineJoin': 'miter',

View file

@ -24,7 +24,7 @@
'height': IMG_HEIGHT, // or does it now?
'fill': 'rgb(0,0,0)',
'stroke': null,
'strokeWidth': 1,
'strokeWidth': 0,
'strokeDashArray': null,
'strokeLineCap': 'butt',
'strokeLineJoin': 'miter',