Code example for Layout

Methods: getLineBounds, getLineForVertical, getLineWidth, getOffsetForHorizontal