Lines Matching refs:textLayer
2273 if(!textLayer){
2274 textLayer = document.createElement('div');
2277 textLayer.canvasPos = {x:0, y:0};
2278 var lay = textLayer;
2354 textLayer.style.display = 'block';
2356 textLayer.canvasPos.x = coord.x;
2357 textLayer.canvasPos.y = coord.y;
2360 textLayer.dobj = null;
2361 textLayer.textInput.value = "";
2364 textLayer.dobj = dobjs[i]; // Remember the shape being clicked on.
2365 …textLayer.textInput.value = dobjs[i].text; // Initialized the input buffer with the previous conte…
2366 textLayer.linkInput.value = dobjs[i].link;
2372 var textInputRect = textLayer.textInput.getBoundingClientRect();
2373 var linkInputRect = textLayer.linkInput.getBoundingClientRect();
2374 …textLayer.linkInput.style.width = textInputRect.width - (linkInputRect.left - textInputRect.left) …
2382 textLayer.style.left = (canvasRect.left + scrollX + offset.x + coord.x) + 'px';
2383 textLayer.style.top = (canvasRect.top + scrollY + offset.y + coord.y) + 'px';
2386 textLayer.textInput.focus();
2654 var textLayer = null;