Lines Matching refs:id
1942 function getById(id) { argument
1943 return typeof id === 'string' ? fabric.document.getElementById(id) : id;
3157 id = element.getAttribute('id'), matcher;
3162 if (id && selector.length) {
3163 matcher = new RegExp('#' + id + '(?![a-zA-Z\\-]+)', 'i');
3491 el, i, j = 0, id, xlink, elList = [ ],
3507 id = el.getAttribute('id');
3509 idsToXlinkMap[id] = xlink.substr(1);
3511 gradientDefs[id] = el;
3514 for (id in idsToXlinkMap) {
3515 var el2 = gradientDefs[idsToXlinkMap[id]].cloneNode(true);
3516 el = gradientDefs[id];
4963 this.id = fabric.Object.__uid++;
5044 commonAttributes = 'id="SVGID_' + this.id +
5330 this.id = fabric.Object.__uid++;
5414 return '<pattern id="SVGID_' + this.id +
5533 this.id = fabric.Object.__uid++;
5584 … '<filter id="SVGID_' + this.id + '" y="-' + fBoxY + '%" height="' + (100 + 2 * fBoxY) + '%" ' +
12736 ? (this.fill.toLive ? 'url(#SVGID_' + this.fill.id + ')' : this.fill)
12740 ? (this.stroke.toLive ? 'url(#SVGID_' + this.stroke.id + ')' : this.stroke)
12751 filter = this.shadow ? 'filter: url(#SVGID_' + this.shadow.id + ');' : '';