Code example for Layout

Methods: getLineForOffset, getLineStart, getOffsetForHorizontal, getParagraphDirection, getPrimaryHorizontal