Closed kudanai closed 10 months ago
Thank you for the feedback.
I understand what you mean by the version check. I could suggest rolling back a little and only supporting the blend modes that have lower minsdk requirements, and continue working on it from there. Does that seem like a more prudent approach?
Also I wasn't entirely sure about the structure of that enum, it feels overly verbose to me. However since bm
can also appear for shapes, figured it might be useful to leave the enum itself in place.
Done! Meanwhile, I will collect some sample lotties with specific blend modes and drop them in the directory.
Pushing new changes:
The supported modes look consistent to me on 23 and 31 now
Adds support for "bm" (BlendMode) on layers. Possibly addresses #1055 Might need a little bit of a refactor. Relies on
Paint.setBlendMode()
available in android Q and up.Sample before & after