mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-04-21 14:34:43 +00:00
Merge pull request #2624 from asturur/image-border-0
change default strokewidth to 0 for images
This commit is contained in:
commit
ad12e534a8
3 changed files with 10 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in a new issue