-
Notifications
You must be signed in to change notification settings - Fork 564
Closed
Milestone
Description
Hi,
Is it possible to animate a Polyline?
I just spent 2 hours without success.
I tried to make an easy opacity animation with a circle and it's works but with a Polyline there is not animation, only the first state and the final state. Did i missed something ?
...
let spider = Polyline(points: points).fill(with: Color.red)
spider.onTap{ _ in
spider.opacityVar.animate(from: 0.0, to: 1.0, during: 1, delay: 0.0) //not animation
circleExtern.opacityVar.animate(from: 0.0, to: 1.0, during: 1, delay: 0.0) //it's works
}
Thx
Metadata
Metadata
Assignees
Labels
No labels