Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function to translate lottie object property values? #1178

Closed
justswim opened this issue Aug 2, 2018 · 2 comments
Closed

Function to translate lottie object property values? #1178

justswim opened this issue Aug 2, 2018 · 2 comments

Comments

@justswim
Copy link

justswim commented Aug 2, 2018

Hi,

I'm trying to understand what the properties in the lottie file map to.

For example, if the shape object has ty: 5 that means that it is a text type according to the JSON docs. However, how can I find what 1, 2, 3, 4 would mean?

I know I can look through the json docs (#575), but is there a function that I can call to translate the key / values instead?

Apologies if this is not the correct forum to ask this question - any help would be much appreciated!

@BillyTheGit
Copy link

Not sure what you are trying to achieve, but you might want to look at TextLayer.UpdateDocumentData and the Lottie API.

https://github.com/airbnb/lottie-web/wiki/TextLayer.updateDocumentData
https://github.com/bodymovin/lottie-api

@kudanai
Copy link
Collaborator

kudanai commented Dec 1, 2022

Please refer to LottieFiles lottie-docs
or the animation community documentation

Hope that helps.
I'm going to close this issue for now please feel free to re-open it

@kudanai kudanai closed this as completed Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants