updated README.
authorHermet Park <hermetpark@gmail.com>
Thu, 10 Oct 2019 07:06:00 +0000 (16:06 +0900)
committerJongmin Lee <jm105.lee@samsung.com>
Thu, 10 Oct 2019 21:43:55 +0000 (06:43 +0900)
README.md

index 3e974fb..57612a3 100644 (file)
--- a/README.md
+++ b/README.md
@@ -201,11 +201,11 @@ enum class Property {
 
 ### Usage (CPP API)
 ```cpp
-LottieView->player()->setValue<rlottie::Property::FillColor>("**",rlottie::Color(0, 1, 0));
+animation->setValue<rlottie::Property::FillColor>("**",rlottie::Color(0, 1, 0));
 ```
 
 ```cpp
-Lottie_View->player()->setValue<rlottie::Property::FillColor>("Layer1.Box 1.Fill1",
+animation->setValue<rlottie::Property::FillColor>("Layer1.Box 1.Fill1",
     [](const rlottie::FrameInfo& info) {
          if (info.curFrame() < 15 )
              return rlottie::Color(0, 1, 0);