![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qsvganimatedproperty_p.h>
Public Types | |
| enum | Type { Int , Float , Color , Transform } |
Public Member Functions | |
| QSvgAbstractAnimatedProperty (const QString &name, Type type) | |
| virtual | ~QSvgAbstractAnimatedProperty () |
| void | setKeyFrames (const QList< qreal > &keyFrames) |
| void | appendKeyFrame (qreal keyFrame) |
| QList< qreal > | keyFrames () const |
| void | setPropertyName (const QString &name) |
| QStringView | propertyName () const |
| Type | type () const |
| QVariant | interpolatedValue () const |
| virtual void | interpolate (uint index, qreal t) const =0 |
Static Public Member Functions | |
| static QSvgAbstractAnimatedProperty * | createAnimatedProperty (const QString &name) |
Protected Attributes | |
| QList< qreal > | m_keyFrames |
| QVariant | m_interpolatedValue |
Definition at line 28 of file qsvganimatedproperty_p.h.
| Enumerator | |
|---|---|
| Int | |
| Float | |
| Color | |
| Transform | |
Definition at line 31 of file qsvganimatedproperty_p.h.
Definition at line 43 of file qsvganimatedproperty.cpp.
|
virtual |
Definition at line 49 of file qsvganimatedproperty.cpp.
Definition at line 58 of file qsvganimatedproperty.cpp.
|
static |
Definition at line 88 of file qsvganimatedproperty.cpp.
Implemented in QSvgAnimatedPropertyColor, QSvgAnimatedPropertyFloat, and QSvgAnimatedPropertyTransform.
| QVariant QSvgAbstractAnimatedProperty::interpolatedValue | ( | ) | const |
Definition at line 83 of file qsvganimatedproperty.cpp.
Definition at line 63 of file qsvganimatedproperty.cpp.
| QStringView QSvgAbstractAnimatedProperty::propertyName | ( | ) | const |
Definition at line 73 of file qsvganimatedproperty.cpp.
Definition at line 53 of file qsvganimatedproperty.cpp.
Definition at line 68 of file qsvganimatedproperty.cpp.
| QSvgAbstractAnimatedProperty::Type QSvgAbstractAnimatedProperty::type | ( | ) | const |
Definition at line 78 of file qsvganimatedproperty.cpp.
|
mutableprotected |
Definition at line 54 of file qsvganimatedproperty_p.h.
Definition at line 53 of file qsvganimatedproperty_p.h.