From b43a5a02b06ed05b2150b22a554b2abb54f1213e Mon Sep 17 00:00:00 2001 From: Gabriel Peal Date: Sun, 3 Mar 2024 14:25:45 -0800 Subject: [PATCH] Clarify clipToCompositionBounds docs for Compose --- .../src/main/java/com/airbnb/lottie/compose/LottieAnimation.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/lottie-compose/src/main/java/com/airbnb/lottie/compose/LottieAnimation.kt b/lottie-compose/src/main/java/com/airbnb/lottie/compose/LottieAnimation.kt index 6ea695d868..3f8de0febe 100644 --- a/lottie-compose/src/main/java/com/airbnb/lottie/compose/LottieAnimation.kt +++ b/lottie-compose/src/main/java/com/airbnb/lottie/compose/LottieAnimation.kt @@ -64,6 +64,7 @@ import kotlin.math.roundToInt * size than this composable. * @param contentScale Define how the animation should be scaled if it has a different size than this Composable. * @param clipToCompositionBounds Determines whether or not Lottie will clip the animation to the original animation composition bounds. + * The composition bounds refers to the Lottie animation composition, not the Compose composition. * @param clipTextToBoundingBox 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. * @param fontMap A map of keys to Typefaces. The key can be: "fName", "fFamily", or "fFamily-fStyle" as specified in your Lottie file.