[Interest] Drawing a path in QML through animation

Jason H jhihn at gmx.com
Mon Nov 19 17:01:27 CET 2018


I don't know for sure, but I would probably try to use a custom QEasingCurve for both X, Y, and angle. http://doc.qt.io/qt-5/qeasingcurve.html
This way you can still use property bindings.


> Sent: Friday, November 16, 2018 at 5:41 PM
> From: "Jeffrey Brendecke" <jeffrey.brendecke at gmail.com>
> To: interest at qt-project.org
> Subject: [Interest] Drawing a path in QML through animation
>
> Is there a way to animate the drawing of a path as an item moves along it?
> 
> * Initial condition: Only the item (e.g., an arrowhead) is visible
> * End condition: The stroked path along which the item travelled is visible from the initial point to the item's final location
> 
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
> 



More information about the Interest mailing list