QML PathView路径设计问题
-
目前正在学习QML变成想用PathView设计一个类似棱形正面的动画感觉目前效果每个图片都是重叠的怎么做可以达到每个图片的两端相连?代码:
startX: 0 startY: parent.height/2; PathAttribute{name:"rotateY";value:-36.0}; PathAttribute{name:"scalePic";value:0.3}; PathAttribute{name:"zOrder";value: 1}; PathLine{x:parent.width*0.5;y:parent.height/2}; PathAttribute{name:"rotateY";value:0.0}; PathAttribute{name:"scalePic";value:0.3}; PathAttribute{name:"zOrder";value: 50}; PathLine{x:640;y:parent.height/2}; PathAttribute{name:"rotateY";value:36.0}; PathAttribute{name:"scalePic";value:0.3}; PathAttribute{name:"zOrder";value: 1};