diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2011-07-11 11:20:58 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-07-20 06:57:44 +0200 |
commit | 963e769c01237265a403e2d28c1b2691cb45bf99 (patch) | |
tree | 89e874d035fc37348552f6ed8fc05bede181d9c8 /src/declarative/particles/qsglineextruder.cpp | |
parent | 12ebf79f3a92646ae7d5671d8ba4147055d203c2 (diff) |
Initial stab at docs for QtQuick.Particles 2.0
Change-Id: I3c53f7998dff95616a994edf19094fa4007d74ab
Reviewed-on: http://codereview.qt.nokia.com/1388
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'src/declarative/particles/qsglineextruder.cpp')
-rw-r--r-- | src/declarative/particles/qsglineextruder.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/declarative/particles/qsglineextruder.cpp b/src/declarative/particles/qsglineextruder.cpp index 5acb2b2d1a..a08d052c20 100644 --- a/src/declarative/particles/qsglineextruder.cpp +++ b/src/declarative/particles/qsglineextruder.cpp @@ -41,6 +41,25 @@ #include "qsglineextruder_p.h" #include <cmath> +/*! + \qmlclass LineShape QSGLineExtruder + \inqmlmodule QtQuick.Particles 2 + \since QtQuick.Particles 2.0 + \inherits Shape + \brief The LineShape represents a line to Affectors and Emitter + +*/ + +/*! + \qmlproperty bool QtQuick.Particles2::LineShape::mirrored + + By default, the line goes from (0,0) to (width, height) of the item that + this shape is being applied to. + + If mirrored is set to true, this will be mirrored along the y axis. + The line will then go from (0,height) to (width, 0). +*/ + QSGLineExtruder::QSGLineExtruder(QObject *parent) : QSGParticleExtruder(parent), m_mirrored(false) { |