public void clearComposition() {
    if (animator.isRunning()) {
      animator.cancel();
      if (!isVisible()) {
        onVisibleAction = OnVisibleAction.NONE;
      }
    }
    composition = null;
    compositionLayer = null;
    imageAssetManager = null;
    lastDrawnProgress = -Float.MAX_VALUE;
    animator.clearComposition();
    invalidateSelf();
  }
When true, if there is a bounding box set on a text layer (paragraph text), any text
that overflows past its height will not be drawn.
lottie/src/main/java/com/airbnb/lottie/LottieDrawable.java