未验证 提交 5a4e59b1 编写于 作者: O openharmony_ci 提交者: Gitee

!7586 翻译完成 6427:arkui-ts/ts-motion-path-animation.md

Merge pull request !7586 from ester.zhou/TR-6427
# Motion Path Animation # Motion Path Animation
You can apply a motion path animation to a component, by setting the motion path of the component in a translation animation.
> **NOTE** > **NOTE**
> >
> This animation is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version. > This animation is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version.
The attributes below can be used to set the motion path of the component in a translation animation.
## Attributes ## Attributes
...@@ -19,7 +19,8 @@ The attributes below can be used to set the motion path of the component in a tr ...@@ -19,7 +19,8 @@ The attributes below can be used to set the motion path of the component in a tr
## Example ## Example
``` ```ts
// xxx.ets
@Entry @Entry
@Component @Component
struct MotionPathExample { struct MotionPathExample {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册