mono / SkiaSharp.Extended

SkiaSharp is a cross-platform, comprehensive 2D graphics API for all .NET platforms. And, here is where you will find all sorts of extras that you can use with it.
https://mono.github.io/SkiaSharp.Extended
MIT License
218 stars 69 forks source link

[FEATURE] AnimationLoaded event provide animation infromation #256

Closed adessables closed 2 months ago

adessables commented 4 months ago

Is your feature request related to a problem? Please describe.

I wanted to know get the size of the canvas the Lottie was rendered on without having to peek at the json file.

Describe the solution you'd like

It would be nice if the event had an EventArgs type that gave us information about the animation. For my case it would be the size of the cavas.

Describe alternatives you've considered

Make an EventArgs type that is a dump of some useful information about the animation and the canvas.