INNER CODE UNIT · Kotlin

y

DanielMartinus/Konfetti · konfetti/compose/src/main/java/nl/dionsegijn/konfetti/compose/KonfettiView.kt:101

                                y = particle.y + (particle.height / 2),
                            ),
                    )
                    scale(
                        scaleX = particle.scaleX,
                        scaleY = 1f,
                        pivot = Offset(particle.x + (particle.width / 2), particle.y),
                    )
                }) {
                    particle.shape.draw(drawScope = this, particle = particle, imageStore = imageStore)
                }
            }
        },
    )
}

/**
 * Transforms the shapes in the given [Party] object. If a shape is a [Shape.DrawableShape],

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…