title: How do I create a triangle in QML that changes size based on degrees?
body: <p>I'm pretty new to QML. I'm trying to create a triangle (slice of a pie) that changes size based on the number of degrees that I pass in. For instance, if I pass in 360 it should be a full circle and if I pass in 90 degrees then it should be a quarter of a circle. What object from QML can I use to achieve this?<a href="https://i.stack.imgur.com/m6Kyn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/m6Kyn.png" alt="enter image description here" /></a></p>