Further Setter/Getter public API removal from Dali::Actor
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / devel-api / controls / shadow-view / shadow-view.h
index 6b4b9dd..d69c479 100644 (file)
@@ -74,12 +74,12 @@ class ShadowView;
  *  ImageView shadowPlaneBg = ImageView::New(); //This will be the shadow plane
  *  shadowPlaneBg.SetProperty( Actor::Property::PARENT_ORIGIN, ParentOrigin::CENTER );
  *  shadowPlaneBg.SetProperty( Actor::Property::ANCHOR_POINT, AnchorPoint::CENTER );
- *  shadowPlaneBg.SetSize(700.0f, 700.0f);
- *  shadowPlaneBg.SetPosition( Vector3(0.0f, 0.0f, -30.0f) ); //Just behind the image view.
+ *  shadowPlaneBg.SetProperty( Actor::Property::SIZE, Vector2(700.0f, 700.0f) );
+ *  shadowPlaneBg.SetProperty( Actor::Property::POSITION, Vector3(0.0f, 0.0f, -30.0f) ); //Just behind the image view.
  *  shadowView.SetShadowPlaneBackground(ShadowPlane);
  *
  *  Actor pointLight = Actor::New(); // This will be the light source
- *  pointLight.SetPosition(300.0f, 250.0f, 600.0f);
+ *  pointLight.SetProperty( Actor::Property::POSITION, Vector3(300.0f, 250.0f, 600.0f) );
  *  Stage::GetCurrent().Add(pointLight);
  *  shadowView.SetPointLight(pointLight);
  *