D13415: Reshape Kickoff avatar to a circle with Opacity Mask
Nathaniel Graham
noreply at phabricator.kde.org
Wed Aug 29 00:31:29 BST 2018
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180828/36908d7f/attachment.html>
More information about the Plasma-devel
mailing list