* It also provides infrastructure necessary for animations (AddAnimation(), RemoveAnimation() and so on).
* A %VisualElement object instantiated by applications works as a model object and may have a cloned counter part for presentation on screen which has a separated life-cycle.
* The presentation object is managed by system and applications must not change properties of it.
- * Use the presentation instance only for getting the current state of the visual element in the tree. If you call the setter methods of the presentation instance, it can cause unexpected behavior.
+ * Use the presentation instance only to get the current state of a visual element in a tree. Calling the setter methods of a presentation instance can cause unexpected behavior to occur.
* Most animations of %VisualElement are applied on presentation objects. Properties set by applications are stored in model objects while properties of presentation objects
* are changing during implicit or explicit animations.
*
bool IsChildOf(const VisualElement& other) const;
/**
- * Checks whether this instance is a child or descendant of the specified one.
+ * Checks whether an instance is a child or descendant of a specified one.
*
* @since 2.1
*
- * @return @c true if this instance is a child or descendant of the specified one, @n
+ * @return @c true if this instance is a child or descendant of a specified one, @n
* else @c false
- * @param[in] pOther A Pointer to %VisualElement instance to test relationship
+ * @param[in] pOther A pointer to %VisualElement instance to check its relationship
* @exception E_SUCCESS The method is successful.
- * @exception E_INVALID_ARG The specified @c pOther is null.
+ * @exception E_INVALID_ARG The specified @c pOther is @c null.
* @remarks The specific error code can be accessed using the GetLastResult() method.
*/
bool IsChildOf(const VisualElement* pOther) const;
result AttachChild(const VisualElement& child);
/**
- * Attaches a child to this instance. @n
+ * Attaches a child to an instance. @n
* The %AttachChild() method attaches the specified @c pChild at the highest position in the Z order group of the @c pChild.
- * If you need to change Z-Order group, you can change it using the SetZOrderGroup() method.
+ * Z-Order group can be changed using the SetZOrderGroup() method.
*
* @since 2.1
*
result InsertChild(const VisualElement& child, const VisualElement* pReference, bool above);
/**
- * Inserts a child to this instance. @n
+ * Inserts a child to an instance. @n
* If @c pReference is not @c null, the Z order group of @c pChild will be changed into that of @c pReference and @c child will be
* placed right above or below the @c pReference instance according to the @c above parameter.
*
* @since 2.1
*
* @return An error code
- * @param[in] pChild A pointer to %VisualElement instance to attach to this instance
- * @param[in] pReference A pointer to the %VisualElement instance that is referenced
- * @param[in] above Specifies the position of @c pChild relative to the @c pReference
+ * @param[in] pChild A pointer to %VisualElement instance to insert
+ * @param[in] pReference A pointer to the %VisualElement instance to refer
+ * @param[in] above The position of @c pChild relative to @c pReference
* @exception E_SUCCESS The method is successful.
* @exception E_INVALID_ARG The input parameter is incorrect. Either of the following conditions has occurred: @n
* - The specified @c pChild is not instantiated successfully. @n
* - The specified @c pChild is already an ancestor of this instance. @n
* - The parent of @c pReference is not this instance if @c pReference is not @c null. @n
* - The specified @c pChild is @c null.
- * @remarks If @c above is @c true, the @c pChild will be attached above @c pReference in Z order,
- * else it will be attached below the @c pReference %VisualElement. @n
- * If @c pReference is @c null, the @c pChild will be attached at the highest position in the @c pChild's Z order group,
- * else the child will be attached at the lowest position in the @c pChild's Z order group.
+ * @remarks If @c above is @c true, the @c pChild is attached above @c pReference in Z order,
+ * else it is attached below the @c pReference %VisualElement. @n
+ * If @c pReference is @c null, the @c pChild is attached at the highest position in the @c pChild's Z order group,
+ * else the child is attached at the lowest position in the @c pChild's Z order group.
* @see SetZOrderGroup()
* @see AttachChild()
* @see DetachChild()
result DetachChild(const VisualElement& child);
/**
- * Detaches a child from this instance.
+ * Detaches a child from an instance.
*
* @since 2.1
*
* @return An error code
- * @param[in] pChild A pointer to %VisualElement instance to detach from this instance
+ * @param[in] pChild A pointer to %VisualElement instance to detach
* @exception E_SUCCESS The method is successful.
* @exception E_OBJ_NOT_FOUND The specified @c pChild is not a child of this instance.
* @exception E_INVALID_ARG The specified @c pChild is @c null.
- * @remarks This method detaches @c pChild from this instance. If you need to deallocate %VisualElement, call Destroy() method, not C++ delete.
+ * @remarks This method detaches @c pChild from this instance. To deallocate %VisualElement, call Destroy() method, and not C++ delete.
* @see InsertChild()
* @see AttachChild()
*/
result ConvertCoordinates(Tizen::Graphics::FloatRectangle& rectangle, const VisualElement* pFromVisualElement) const;
/**
- * Transforms point in @c pOriginVisualElement coordinate space into the specified vector in this instance's coordinate space.
+ * Transforms a point in @c pOriginVisualElement coordinate space into a specified vector in calling instance's coordinate space.
*
* @since 2.1
*
* @exception E_INVALID_ARG The input parameter is incorrect.
* @exception E_INVALID_OPERATION The current state of the instance prohibits the execution of the specified operation. @n
The matrix for this conversion is singular which has zero determinant.
- * @remarks This instance and @c pOriginVisualElement must share a common ancestor.
- * @remarks The specific error code can be accessed using the GetLastResult() method.
+ * @remarks - This instance and @c pOriginVisualElement must share a common ancestor.
+ * - The specific error code can be accessed using the GetLastResult() method.
*/
Tizen::Graphics::FloatPoint3 TransformVectorFromOrigin(const Tizen::Graphics::FloatPoint3& originPoint, const VisualElement* pOriginVisualElement) const;