I'd like to draw a path that consists of multiple colors on a Jetpack Compose canvas. The color of the path changes when it gets above or below a certain Y value. See screenshot below.
I know that paths are limited to a single color. Would I have to draw multiple paths to accomplish this? Or perhaps there's some kind of color mask I can overlay on top of this?
