docs: private float getMaxScale(@NonNull Canvas canvas) {
      float maxScaleX = canvas.getWidth() / (float) composition.getBounds().width();
      float maxScaleY = canvas.getHeight() / (float) composition.getBounds().height();
      return Math.min(maxScaleX, maxScaleY);
    }