Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// Rotation of the gradient
rotate(animationAngle / 2, pivot = center) {
drawRect(
Brush.linearGradient(
colors = listOf(
Color.Red, Color.Yellow, Color.Green, Color.Blue, Color.Magenta
)
),
blendMode = BlendMode.DstAtop
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment