1832ef714b
* Generate a way to convert between marker names and progress values, and set bound colors. To use this without having to cast to a particular class type, use the -AdditionalInterface command line option in LottieGen. Cppwinrt example: LottieGen.exe -inp MyLottieFile -AdditionalInterface MyNamespace.IMyInterface -l cppwinrt ...then in your cppwinrt project, add an IDL file that defines MyNamespace.IMyInterface and declares the methods you want to access, e.g.: namespace MyNamespace { interface IMyInterface { Windows.Foundation.Collections.IMapView<String, Double> Markers { get; }; void SetColorProperty(String propertyName, Windows.UI.Color value); }; } ...and finally, reference the interface from your code with an include of "MyNamespace.IMyInterface.h". |
||
---|---|---|
.github | ||
Lottie-Windows | ||
LottieGen | ||
LottieViewer | ||
build | ||
dlls | ||
images | ||
samples | ||
source | ||
tests | ||
.gitattributes | ||
.gitignore | ||
Directory.Build.props | ||
Directory.Build.targets | ||
GlobalSuppressions.cs | ||
LICENSE.md | ||
Lottie-Windows.sln | ||
README.md | ||
Toolkit.ruleset | ||
VERSION_HISTORY.md | ||
azure-pipelines.yml | ||
global.json | ||
settings.xamlstyler | ||
stylecop.json | ||
toolkit.public.snk | ||
toolkit.snk | ||
version.json |
README.md
Lottie-Windows
Lottie-Windows is a library for rendering Adobe After Effects animations natively in your application. This project adds Windows to the Lottie family of tools also targeting Android, iOS, and Web.
Lottie simplifies the design-to-code workflow for bringing engaging, interactive vector animations to your Windows applications, with significant improvements in terms of performance, quality, and engineering efficiency over traditional approaches such as gifs, manually coded animations, etc. Lottie-Windows uses the Windows.UI.Composition APIs to provide smooth 60fps animations and resolution-independent vector graphics.
Lottie-Windows consists of 3 related products:
- Lottie-Windows library for parsing and translating Bodymovin JSON files
- LottieGen command-line tool for generating C# or C++ code to be used instead of JSON
- Lottie Viewer application for previewing JSON and also generating code
This repo also contains source code for samples.
Supported SDKs
- May 2019 Update (18362) and later
Getting Started
Build Status
Target | Branch | Status | Recommended NuGet package |
---|---|---|---|
6.1.0 release | master |
Feedback and Requests
Please use GitHub Issues for bug reports and feature requests.
Principles
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information see the .NET Foundation Code of Conduct.
.NET Foundation
This project is supported by the .NET Foundation.