Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QSvgAnimatedPropertyColor Class Reference

#include <qsvganimatedproperty_p.h>

Inheritance diagram for QSvgAnimatedPropertyColor:
Collaboration diagram for QSvgAnimatedPropertyColor:

Public Member Functions

 QSvgAnimatedPropertyColor (const QString &name)
void setColors (const QList< QColor > &colors)
void appendColor (const QColor &color)
QList< QColorcolors () const
void interpolate (uint index, qreal t) const override
Public Member Functions inherited from QSvgAbstractAnimatedProperty
 QSvgAbstractAnimatedProperty (const QString &name, Type type)
virtual ~QSvgAbstractAnimatedProperty ()
void setKeyFrames (const QList< qreal > &keyFrames)
void appendKeyFrame (qreal keyFrame)
QList< qrealkeyFrames () const
void setPropertyName (const QString &name)
QStringView propertyName () const
Type type () const
QVariant interpolatedValue () const

Additional Inherited Members

Public Types inherited from QSvgAbstractAnimatedProperty
enum  Type { Int , Float , Color , Transform }
Static Public Member Functions inherited from QSvgAbstractAnimatedProperty
static QSvgAbstractAnimatedPropertycreateAnimatedProperty (const QString &name)
Protected Attributes inherited from QSvgAbstractAnimatedProperty
QList< qrealm_keyFrames
QVariant m_interpolatedValue

Detailed Description

Definition at line 61 of file qsvganimatedproperty_p.h.

Constructor & Destructor Documentation

◆ QSvgAnimatedPropertyColor()

QSvgAnimatedPropertyColor::QSvgAnimatedPropertyColor ( const QString & name)

Definition at line 116 of file qsvganimatedproperty.cpp.

Member Function Documentation

◆ appendColor()

void QSvgAnimatedPropertyColor::appendColor ( const QColor & color)

Definition at line 126 of file qsvganimatedproperty.cpp.

◆ colors()

QList< QColor > QSvgAnimatedPropertyColor::colors ( ) const

Definition at line 131 of file qsvganimatedproperty.cpp.

◆ interpolate()

void QSvgAnimatedPropertyColor::interpolate ( uint index,
qreal t ) const
overridevirtual

Implements QSvgAbstractAnimatedProperty.

Definition at line 136 of file qsvganimatedproperty.cpp.

◆ setColors()

void QSvgAnimatedPropertyColor::setColors ( const QList< QColor > & colors)

Definition at line 121 of file qsvganimatedproperty.cpp.


The documentation for this class was generated from the following files: