设置组件进行位移动画时的运动路径。说明:从APIVersion7开始支持。后续版本如有新增内容,则采用上角标单独标记该内容的起始版本。属性:实例:EntryComponentstructMotionPathExample{StateoffsetX:number0StateoffsetY:number0Statetoggle:booleantruebuild(){Column(){Button('clickme').motionPath({path:'Mstart.xstart.yL300200L300500Lend.xend.y',from:0.0,to:1.0,rotatable:true}).onClick((event:ClickEvent){animat...