tests/manual/graphicaleffects5/InnerShadowEffect.qml
raw| 1 | // Copyright (C) 2022 The Qt Company Ltd. |
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
| 3 | |
| 4 | import QtQuick |
| 5 | import Qt5Compat.GraphicalEffects |
| 6 | |
| 7 | Item { |
| 8 | InnerShadow { |
| 9 | anchors.fill: parent |
| 10 | source: butterfly |
| 11 | horizontalOffset: -3 |
| 12 | verticalOffset: 3 |
| 13 | color: "#000000" |
| 14 | radius: 32 |
| 15 | samples: 24 |
| 16 | spread: 0 |
| 17 | } |
| 18 | } |