Method: measureTextWidth

Will measure and return the width in pixels of a line or multiple lines of text. If no text parameter is passed, will use the current text assigned to the font entity.
measureTextWidth (String text)
  • Stringtext Optional text to measure, used existing entity text value if none is provided.
Returns Number The width of the text in pixels.
© Copyright 2013 Irrelon Software Limited. All Rights Reserved. UK Registered Company Number: 07522767
Isogenic (ī´sōjen´ik): Adj originating from a common source; possessing the same genetic composition.
Strange Things Happen at the One Two Point