tests/manual/graphicaleffects5/RadialGradientEffect.qml
raw| 1 | // Copyright (C) 2020 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 | RadialGradient { |
| 9 | anchors.fill: parent |
| 10 | gradient: Gradient { |
| 11 | GradientStop { position: 0.0; color: "white" } |
| 12 | GradientStop { position: 1.0; color: "black" } |
| 13 | } |
| 14 | } |
| 15 | } |