demos/Collage/fabric.js
function(oCoords, i) {
      return {
        topline: {
          o: oCoords.tl,
          d: oCoords.tr
        },
        rightline: {
          o: oCoords.tr,
          d: oCoords.br
        },
        bottomline: {
          o: oCoords.br,
          d: oCoords.bl
        },
        leftline: {
          o: oCoords.bl,
          d: oCoords.tl
        }
      }
    }
function(oCoords, i) {
      return {
        topline: {
          o: oCoords.tl,
          d: oCoords.tr
        },
        rightline: {
          o: oCoords.tr,
          d: oCoords.br
        },
        bottomline: {
          o: oCoords.br,
          d: oCoords.bl
        },
        leftline: {
          o: oCoords.bl,
          d: oCoords.tl
        }
      }
    }
function ( oCoords , i ) { return { topline : { o : oCoords . tl , d : oCoords . tr } , rightline : { o : oCoords . tr , d : oCoords . br } , bottomline : { o : oCoords . br , d : oCoords . bl } , leftline : { o : oCoords . bl , d : oCoords . tl } } }
Method that returns an object with the image lines in it given the coordinates of the corners
@method _getImageLines
@private
@param oCoords {Object} coordinates of the image corners
Method that returns an object with the image lines in it given the coordinates of the corners