ngraham added a comment.

  BTW, you can do the `OpacityMask` inline, like so:
  
    Image {
        id: faceIcon
        source: kuser.faceIconUrl
    
        [...]
    
        layer.enabled: true
        layer.effect: OpacityMask {
            // this Rectangle is a circle due to radius size
            maskSource: Rectangle {
                width: faceIcon.width
                height: faceIcon.height
                radius: height / 2
                visible: false
           }
        }

REPOSITORY
  R119 Plasma Desktop

REVISION DETAIL
  https://phabricator.kde.org/D13415

To: sharvey, ngraham, davidedmundson, mart, apol, abetts
Cc: sefaeyeoglu, hein, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, 
ali-mohamed, jensreuterberg, abetts, sebas, apol, mart

Reply via email to