Searched refs:labelWidth (Results 1 – 3 of 3) sorted by relevance
54 const labelWidth = ctx.measureText(label).width; constant58 let labelXLeft = Math.floor(xWidth / 2 - labelWidth / 2 + xLeft);60 if (labelWidth > target.width || labelXLeft < bounds.x ||61 (labelXLeft + labelWidth) > (bounds.x + bounds.width)) {67 labelXLeft = xLeft - labelWidth - 3;75 ctx.fillRect(labelXLeft - 1, 0, labelWidth + 1, target.height);
491 const float labelWidth = 246.0f;525 width:labelWidth
518 const float labelWidth = 246.0f;549 width:labelWidth