[solved] Image with rounded corner
I'm new to QML and I would like to add border to my image. My border also have to be a circle with my image inside of it. I've tried some code that I found in other topics but nothing fit for what I want.
To explain my self better here an example of what I want.
I have this:
and I want this:
You can do it with "opacitymask":http://qt-project.org/doc/qt-5.0/qtgraphicaleffects/qml-qtgraphicaleffects1-opacitymask.html#example
Thanks a lot, that's what I was looking for.
That's great :) You can mark the post as solved. Just edit the title and prepend [solved]