Searched refs:rectXCenter (Results 1 – 3 of 3) sorted by relevance
104 const rectXCenter = rectStart + rectWidth / 2; constant106 ctx.fillText(title, rectXCenter, MARGIN_TOP + RECT_HEIGHT / 2 + 3);
142 const rectXCenter = rectStart + rectWidth / 2; constant145 ctx.fillText(title, rectXCenter, MARGIN_TOP + RECT_HEIGHT / 2 - 1);148 ctx.fillText(subTitle, rectXCenter, MARGIN_TOP + RECT_HEIGHT / 2 + 9);
173 const rectXCenter = rect.left + rect.width / 2; constant175 ctx.fillText(displayText, rectXCenter, rect.top + SLICE_HEIGHT / 2);