setPattern

fun setPattern(animatedImage: AnimatedImageProvider, scale: Float)

Sets an animated pattern to fill the polygon.

Use the pattern parameter of the composable for a static one.