Code example for Layout

Methods: getLineForOffsetgetPrimaryHorizontal