Flutter Engine
The Flutter Engine
|
#include <SkottieProperty.h>
Public Types | |
enum class | NodeType { COMPOSITION , LAYER , EFFECT , OTHER } |
template<typename T > | |
using | LazyHandle = std::function< std::unique_ptr< T >()> |
Public Member Functions | |
virtual void | onColorProperty (const char node_name[], const LazyHandle< ColorPropertyHandle > &) |
virtual void | onOpacityProperty (const char node_name[], const LazyHandle< OpacityPropertyHandle > &) |
virtual void | onTextProperty (const char node_name[], const LazyHandle< TextPropertyHandle > &) |
virtual void | onTransformProperty (const char node_name[], const LazyHandle< TransformPropertyHandle > &) |
virtual void | onEnterNode (const char node_name[], NodeType node_type) |
virtual void | onLeavingNode (const char node_name[], NodeType node_type) |
Public Member Functions inherited from SkRefCntBase | |
SkRefCntBase () | |
virtual | ~SkRefCntBase () |
bool | unique () const |
void | ref () const |
void | unref () const |
A PropertyObserver can be used to track and manipulate certain properties of "interesting" Lottie nodes.
When registered with an animation builder, PropertyObserver receives notifications for various properties of layer and shape nodes. The |node_name| argument corresponds to the name ("nm") node property.
Definition at line 169 of file SkottieProperty.h.
using skottie::PropertyObserver::LazyHandle = std::function<std::unique_ptr<T>()> |
Definition at line 174 of file SkottieProperty.h.
|
strong |
Enumerator | |
---|---|
COMPOSITION | |
LAYER | |
EFFECT | |
OTHER |
Definition at line 171 of file SkottieProperty.h.
|
virtual |
Definition at line 175 of file SkottieProperty.cpp.
|
virtual |
Definition at line 187 of file SkottieProperty.cpp.
|
virtual |
Definition at line 189 of file SkottieProperty.cpp.
|
virtual |
Definition at line 178 of file SkottieProperty.cpp.
|
virtual |
Definition at line 181 of file SkottieProperty.cpp.
|
virtual |
Definition at line 184 of file SkottieProperty.cpp.