From e469c66ab4b3bc93a5317171793ee692aacd29bd Mon Sep 17 00:00:00 2001 From: Yoonsang Lee Date: Thu, 24 Nov 2016 08:44:19 +0900 Subject: [PATCH] Update comment for Actor::SetPosition() Change-Id: Iad49f543e121f518abf3840b91895dcb96cf93b2 --- dali/public-api/actors/actor.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/dali/public-api/actors/actor.h b/dali/public-api/actors/actor.h index 79344e5..af0ac53 100644 --- a/dali/public-api/actors/actor.h +++ b/dali/public-api/actors/actor.h @@ -665,8 +665,12 @@ public: Vector3 GetNaturalSize() const; /** - * @brief Sets the position of the actor. + * @brief Sets the position of the Actor. + * + * By default, sets the position vector between the parent origin and anchor point (default). * + * When SetInheritPosition(true) has called, sets the position vector between the world origin (0,0,0) and anchor point. + * @image html actor-position.png * The Actor's z position will be set to 0.0f. * @SINCE_1_0.0 * @param [in] x The new x position @@ -679,6 +683,10 @@ public: /** * @brief Sets the position of the Actor. * + * By default, sets the position vector between the parent origin and anchor point (default). + * + * When SetInheritPosition(true) has called, sets the position vector between the world origin (0,0,0) and anchor point. + * @image html actor-position.png * @SINCE_1_0.0 * @param [in] x The new x position * @param [in] y The new y position @@ -691,6 +699,10 @@ public: /** * @brief Sets the position of the Actor. * + * By default, sets the position vector between the parent origin and anchor point (default). + * + * When SetInheritPosition(true) has called, sets the position vector between the world origin (0,0,0) and anchor point. + * @image html actor-position.png * @SINCE_1_0.0 * @param [in] position The new position * @pre The Actor has been initialized. -- 2.7.4