summaryrefslogtreecommitdiff
path: root/src/effects/Glow.qml
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@digia.com>2014-10-09 17:57:11 +0200
committerFrederik Gladhorn <frederik.gladhorn@digia.com>2014-10-09 17:57:11 +0200
commit378e5e781039436f385a3507e93a39ca4b311176 (patch)
tree65c367a209d110ba83e21ff64d213660a1725624 /src/effects/Glow.qml
parent5b4931309de0d033af339674edddcddbbb11949b (diff)
parentf2302341b8852cda7fbc95ba64d4a5a376d68b8a (diff)
downloadqtgraphicaleffects-378e5e781039436f385a3507e93a39ca4b311176.tar.gz
Merge remote-tracking branch 'origin/5.4' into dev
Change-Id: I259099e0d550e5a1f0d6846d6024876d06fa1b4c
Diffstat (limited to 'src/effects/Glow.qml')
-rw-r--r--src/effects/Glow.qml17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/effects/Glow.qml b/src/effects/Glow.qml
index c5a82c6..668fb74 100644
--- a/src/effects/Glow.qml
+++ b/src/effects/Glow.qml
@@ -261,6 +261,23 @@ Item {
*/
property bool cached: false
+
+ /*!
+ This property determines whether or not the effect has a transparent
+ border.
+
+ When set to \c true, the exterior of the item is padded with a 1 pixel
+ wide transparent edge, making sampling outside the source texture use
+ transparency instead of the edge pixels. Without this property, an
+ image which has opaque edges will not get a blurred edge.
+
+ In the snippet below, the Rectangle on the left has transparent borders
+ and has blurred edges, whereas the Rectangle on the right does not.
+
+ \snippet Glow-transparentBorder-example.qml example
+
+ \image transparentBorder.png
+ */
property bool transparentBorder: false
Loader {