Should be super simple.
You have the background, below the foreground,  being revealed in a circle.
So put your foreground item in a Rectangle with radius: width/2; clip: true, then animate the width from 0 to whatever.
 
Sent: Tuesday, April 11, 2017 at 8:54 AM
From: "Majid Kamali" <majidkamali1...@gmail.com>
To: interest@qt-project.org
Subject: [Interest] Simulate Android CircularReveal with Qml
Hi.
How can I create CircularReveal [1] in Qml?
I tried using both OpacityMask and ShaderEffect, but with no luck.
Using CircularReveal2, transition is not circle but an ellipse, because width and height of Item are not equal.
Using CircularReveal3, OpacityMask is anchored in Item and quality of item is improved over time.
 
Thanks
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to