Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

How to crop an image inside an item (rectangle)?

$
0
0
Hi, I would like to load and display a picture (.png) inside a circle (rectangle) that I have defined. I have done some tries with Image.PreserveAspectCrop but they were not conclusive. I want my image to perfectly fit the border of the circle. Is that possible with Qt Quick? Thanks a lot!

Viewing all articles
Browse latest Browse all 4972

Trending Articles