aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/shapes/content/item1.qml
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2017-06-06 14:54:37 +0200
committerLaszlo Agocs <laszlo.agocs@qt.io>2017-06-08 10:32:18 +0000
commitf4f89858cffa1107af5139dfb1e1d7b16ca3a1a0 (patch)
tree848471b6d85eebfea8915f1da89b26286f0dbbc7 /examples/quick/shapes/content/item1.qml
parent8a5837467d153c50c869625390a584b0335b77b7 (diff)
Use GradientStop and rename ShapeLinearGradient to LinearGradient
Thus application code becomes: ShapePath { ... fillGradient: LinearGradient { ... GradientStop { ... } } } which is even more clean and readable. The duplication for stops is now avoided. Change-Id: I50ae2f388e21683a37dc4787763dc71e16eef4f5 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'examples/quick/shapes/content/item1.qml')
0 files changed, 0 insertions, 0 deletions