Skip to content

Round corners are not rendered correctly on path shape content. #2561

@RickAi

Description

@RickAi

Lottie is supported and developed on nights and weekends. Issues from Lottie sponsors will be prioritized.

If you don't use this template, your issue will be closed. Delete this text once completed.

Checklist

  1. My animation doesn't use any unsupported features. ✅
  2. I know what part of my animation doesn't work. ✅
  3. I have created a simplified version of my animation ✅
  4. I have attached the AEP file (as a zip file so it can be attached) that only has the part of the animation that doesn't work. ✅

Describe the bug
A clear and concise description of what the bug is.
Round corners are not rendered correctly on path shape content.

A very simple example is a path only with 3 vertices:
✅ lottie-web:
image
❌ lottie-android:
image

More open path example:
✅ lottie-web:
image
❌ lottie-android:
image

A closed path example with 4 vertices:

✅ lottie-web:
image
❌ lottie-android:
image

What version of Lottie did you test this on?
6.5.2

What version of Android did you test this on?
Android 12.0

Steps To Reproduce
Steps to reproduce the behavior:

  1. unzip the attachment .zip file: roundcorner_issue.zip
  2. render json files (closed, 3points or points.json) with lottie-android

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions