Searched refs:labelWidth (Results 1 – 2 of 2) sorted by relevance
59 const labelWidth = ctx.measureText(label).width; constant63 let labelXLeft = Math.floor(xWidth / 2 - labelWidth / 2 + xLeft);65 if (labelWidth > target.width || labelXLeft < bounds.x ||66 (labelXLeft + labelWidth) > (bounds.x + bounds.width)) {72 labelXLeft = xLeft - labelWidth - 3;80 ctx.fillRect(labelXLeft - 1, 0, labelWidth + 1, target.height);96 const labelWidth = ctx.measureText(label).width; constant100 if (xPos + padding + labelWidth > bounds.width) {109 ctx.fillRect(xPosLabel - 1, 0, labelWidth + 2, bounds.height);
518 const float labelWidth = 246.0f;549 width:labelWidth