Code example for Layout

Methods: getLineCount, getLineTop