demos/Collage/fabric.js
function() {
      return [
        "stroke: ", (this.stroke ? this.stroke : 'none'), "; ",
        "stroke-width: ", (this.strokeWidth ? this.strokeWidth : '0'), "; ",
        "stroke-dasharray: ", (this.strokeDashArray ? this.strokeDashArray.join(' ') : "; "),
        "fill: ", (this.fill ? this.fill : 'none'), "; ",
        "opacity: ", (this.opacity ? this.opacity : '1'), ";"
      ].join("");
    }
function() {
      return [
        "stroke: ", (this.stroke ? this.stroke : 'none'), "; ",
        "stroke-width: ", (this.strokeWidth ? this.strokeWidth : '0'), "; ",
        "stroke-dasharray: ", (this.strokeDashArray ? this.strokeDashArray.join(' ') : "; "),
        "fill: ", (this.fill ? this.fill : 'none'), "; ",
        "opacity: ", (this.opacity ? this.opacity : '1'), ";"
      ].join("");
    }
function ( ) { return [ "stroke: " , ( this . stroke ? this . stroke : 'none' ) , "; " , "stroke-width: " , ( this . strokeWidth ? this . strokeWidth : '0' ) , "; " , "stroke-dasharray: " , ( this . strokeDashArray ? this . strokeDashArray . join ( ' ' ) : "; " ) , "fill: " , ( this . fill ? this . fill : 'none' ) , "; " , "opacity: " , ( this . opacity ? this . opacity : '1' ) , ";" ] . join ( "" ) ; }
Returns styles-string for svg-export
@method getSvgStyles
@return {string}
Returns styles - string for svg - export