Lines Matching refs:attributes
49 svgElement.zoomStack = [svgElement.getElementById(svgElement.attributes['rootid'].value)];
57 let width = parseFloat(rect.attributes['width'].value) * svgWidth * 0.01;
109 let clicked_origin_y = clicked_rect.attributes['oy'].value;
118 clicked_origin_x = clicked_rect.attributes['ox'].value;
119 clicked_origin_width = clicked_rect.attributes['owidth'].value;
133 let rect_o_x = parseFloat(rect.attributes['ox'].value);
134 let rect_o_y = parseFloat(rect.attributes['oy'].value);
145 let newrec_x = rect.attributes['x'].value = (rect_o_x - clicked_origin_x) * scaleFactor +
147 let newrec_y = rect.attributes['y'].value = rect_o_y + (svgBoxHeight - clicked_origin_y
150 text.attributes['y'].value = newrec_y + 12;
151 text.attributes['x'].value = newrec_x;
153 rect.attributes['width'].value = (rect.attributes['owidth'].value * scaleFactor) + '%';
190 rect.attributes['fill'].value = rect.attributes['ofill'].value;
199 rect.attributes['fill'].value = 'rgb(230,100,230)';
201 rect.attributes['fill'].value = rect.attributes['ofill'].value;
212 let nav = selected.attributes['nav'].value.split(',');