mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-03-16 22:10:32 +00:00
test svg
This commit is contained in:
parent
ce671ac43f
commit
1eb8067741
1 changed files with 2 additions and 0 deletions
|
|
@ -213,6 +213,7 @@
|
|||
styleInfo = noStyle ? '' : 'style="' + this.getSvgStyles() + '" ',
|
||||
shadowInfo = withShadow ? 'style="' + this.getSvgFilter() + '" ' : '',
|
||||
clipPath = this.clipPath,
|
||||
vectorEffect = this.strokeUniform ? 'vector-effect="non-scaling-stroke" ' : '',
|
||||
absoluteClipPath = this.clipPath && this.clipPath.absolutePositioned,
|
||||
commonPieces, markup = [], clipPathMarkup,
|
||||
// insert commons in the markup, style and svgCommons
|
||||
|
|
@ -237,6 +238,7 @@
|
|||
);
|
||||
commonPieces = [
|
||||
styleInfo,
|
||||
vectorEffect,
|
||||
noStyle ? '' : this.addPaintOrder(), ' ',
|
||||
additionalTransform ? 'transform="' + additionalTransform + '" ' : '',
|
||||
].join('');
|
||||
|
|
|
|||
Loading…
Reference in a new issue