def getTextBoundarySize(instance, font, targetSize, text): return eLabel.calculateTextSize(font, text, targetSize)
def getTextBoundarySize(instance, font, targetSize, text, nowrap=False): return eLabel.calculateTextSize(font, text, targetSize, nowrap)