diff options
Diffstat (limited to 'src/effects/RadialGradient.qml')
-rw-r--r-- | src/effects/RadialGradient.qml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/effects/RadialGradient.qml b/src/effects/RadialGradient.qml index ff46aac..52b3ff3 100644 --- a/src/effects/RadialGradient.qml +++ b/src/effects/RadialGradient.qml @@ -85,7 +85,10 @@ Item { property bool cached: false /*! - The HorizontalOffset and verticalOffset properties define the offset in + \qmlproperty real RadialGradient::horizontalOffset + \qmlproperty real RadialGradient::verticalOffset + + The horizontalOffset and verticalOffset properties define the offset in pixels for the center point of the gradient compared to the item center. The values range from -inf to inf. By default, these properties are set @@ -127,7 +130,10 @@ Item { property real verticalOffset: 0.0 /*! - The HorizontalRadius and verticalRadius properties define the shape and + \qmlproperty real RadialGradient::horizontalRadius + \qmlproperty real RadialGradient::verticalRadius + + The horizontalRadius and verticalRadius properties define the shape and size of the radial gradient. If the radiuses are equal, the shape of the gradient is a circle. If the horizontal and vertical radiuses differ, the shape is elliptical. The radiuses are given in pixels. |