Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
skottie::PropertyHandle< ValueT, NodeT > Class Template Referencefinal

#include <SkottieProperty.h>

Public Member Functions

 PropertyHandle (sk_sp< NodeT >)
 
 PropertyHandle (sk_sp< NodeT > node, sk_sp< internal::SceneGraphRevalidator > revalidator)
 
 ~PropertyHandle ()
 
 PropertyHandle (const PropertyHandle &)
 
ValueT get () const
 
void set (const ValueT &)
 

Detailed Description

template<typename ValueT, typename NodeT>
class skottie::PropertyHandle< ValueT, NodeT >

Property handles are adapters between user-facing AE model/values and the internal scene-graph representation.

Definition at line 127 of file SkottieProperty.h.

Constructor & Destructor Documentation

◆ PropertyHandle() [1/3]

template<typename ValueT , typename NodeT >
skottie::PropertyHandle< ValueT, NodeT >::PropertyHandle ( sk_sp< NodeT >  )
explicit

◆ PropertyHandle() [2/3]

template<typename ValueT , typename NodeT >
skottie::PropertyHandle< ValueT, NodeT >::PropertyHandle ( sk_sp< NodeT >  node,
sk_sp< internal::SceneGraphRevalidator revalidator 
)
inline

Definition at line 130 of file SkottieProperty.h.

131 : fNode(std::move(node))
132 , fRevalidator(std::move(revalidator)) {}

◆ ~PropertyHandle()

SK_API skottie::TransformPropertyHandle::~PropertyHandle

Definition at line 72 of file SkottieProperty.cpp.

72{}

◆ PropertyHandle() [3/3]

template<typename ValueT , typename NodeT >
skottie::PropertyHandle< ValueT, NodeT >::PropertyHandle ( const PropertyHandle< ValueT, NodeT > &  )

Member Function Documentation

◆ get()

SK_API TransformPropertyValue skottie::TransformPropertyHandle::get

Definition at line 75 of file SkottieProperty.cpp.

75 {
76 return fNode->getColor();
77}

◆ set()

template<typename ValueT , typename NodeT >
void skottie::PropertyHandle< ValueT, NodeT >::set ( const ValueT &  )

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