Code example for StaticLayout

Methods: getLineCount, getLineEnd