Component storing <animate>-specific value data. More...
#include "donner/svg/components/animation/AnimateValueComponent.h"
Public Attributes | |
| std::string | attributeName |
| The attributeName identifying which attribute to animate. | |
| std::optional< std::string > | href |
| Optional href pointing to the target element. If absent, targets the parent element. | |
| std::optional< std::string > | from |
| The from value (start of interpolation). | |
| std::optional< std::string > | to |
| The to value (end of interpolation). | |
| std::optional< std::string > | by |
| The by value (offset from start). | |
| std::vector< std::string > | values |
| The values list (semicolon-separated keyframes). Takes precedence over from/to/by. | |
| Public Attributes inherited from donner::svg::components::AnimationInterpolation | |
| CalcMode | calcMode = CalcMode::Linear |
| Interpolation mode. | |
| std::vector< double > | keyTimes |
| Normalized keyframe times. | |
| std::vector< double > | keySplines |
| Four control coordinates per interval. | |
| bool | additive = false |
| Add to the underlying value. | |
| bool | accumulate = false |
| Add completed iterations' final values. | |
| bool | valid = true |
| False after a malformed interpolation attribute. | |
Component storing <animate>-specific value data.
Values can be specified via from/to/by pairs or a values list. The values list takes precedence when present.