Change to use properties instead of Setter/Getter APIs of Dali::Actor 40/234440/1
authorRichard Huang <r.huang@samsung.com>
Tue, 19 May 2020 13:07:08 +0000 (14:07 +0100)
committerHeeyong Song <heeyong.song@samsung.com>
Tue, 26 May 2020 09:19:24 +0000 (18:19 +0900)
Change-Id: I10ee12bfa6b6480e204b02b0701d30d0996ae833

dali-extension/devel-api/evas-plugin/evas-plugin.h

index 177f479..bbbbb1f 100644 (file)
@@ -95,8 +95,8 @@ class EvasPlugin;
  *     scene.SetBackgroundColor( Color::WHITE );
  *
  *     TextLabel textLabel = TextLabel::New( "Hello World" );
- *     textLabel.SetParentOrigin( ParentOrigin::CENTER );
- *     textLabel.SetAnchorPoint( AnchorPoint::CENTER );
+ *     textLabel.SetProperty( Actor::Property::PARENT_ORIGIN, ParentOrigin::CENTER );
+ *     textLabel.SetProperty( Actor::Property::ANCHOR_POINT, AnchorPoint::CENTER );
  *     textLabel.SetProperty( TextLabel::Property::HORIZONTAL_ALIGNMENT, HorizontalAlignment::CENTER );
  *     textLabel.SetProperty( TextLabel::Property::POINT_SIZE, 40 );
  *     textLabel.SetName( "helloWorldLabel" );