microsoft / WindowsCompositionSamples

The Windows Composition Samples have moved here: https://github.com/microsoft/WindowsAppSDK-Samples/tree/main/Samples/SceneGraph
https://github.com/microsoft/WindowsAppSDK-Samples/tree/main/Samples/SceneGraph
MIT License
1.12k stars 287 forks source link

[Question] Is it possible to make Composition Animation running along with a path? #340

Closed jasonwun closed 5 months ago

jasonwun commented 5 years ago

Issue Type

[ ] Bug Report
[ ] Feature Request
[ ] Sample request
[ ] Documentation issue or request
[*] Other – Please describe:

Question

I found it is a little pain to write code about drawing key-frame animation if it have a complex path, say curving, as I need to enter every single geometry point. Is there a specific class that enable devs to define a path which includes geometry data that enable the animation drawing along with those data so that we don't have to hard-code the geometry point one by one.

I did some research about Win2D and Composition and there are several "Path" related classes but I'm not sure whether those are referring the same "Path" as I do since they refer more about drawing the geometry shape.