class TextLayoutBuilder {

  public TextLayoutBuilder setMaxLines(int maxLines) {
    if (mParams.maxLines != maxLines) {
      mParams.maxLines = maxLines;
      mSavedLayout = null;
    }
    return this;
  }

}