[go: nahoru, domu]

Updated LightingColorFilter documentation

Fixed documentation that was swapped for multiply and
added parameters

Fixes: 232742198
Test: re-ran compose tests
Change-Id: Iee968ccea7978e75afc0d40baa5b274033dd4b43
diff --git a/compose/ui/ui-graphics/src/commonMain/kotlin/androidx/compose/ui/graphics/ColorFilter.kt b/compose/ui/ui-graphics/src/commonMain/kotlin/androidx/compose/ui/graphics/ColorFilter.kt
index 91bef45..6d45d4d 100644
--- a/compose/ui/ui-graphics/src/commonMain/kotlin/androidx/compose/ui/graphics/ColorFilter.kt
+++ b/compose/ui/ui-graphics/src/commonMain/kotlin/androidx/compose/ui/graphics/ColorFilter.kt
@@ -59,9 +59,8 @@
          * A lighting ColorFilter is defined by two parameters, one used to multiply the source
          * color and one used to add to the source color
          *
-         * @param multiply Color that will be added to the source color when the color
-         *          filter is applied
-         * @param add Color used to multiply the source color when the color filter is applied.
+         * @param multiply Color used to multiply the source color when the color filter is applied.
+         * @param add Color that will be added to the source color when the color filter is applied.
          */
         @Stable
         fun lighting(multiply: Color, add: Color): ColorFilter =