PathEdgeBehavior
public enum PathEdgeBehavior
This enum defines the behavior a path motion takes when at an edge of the path.
-
If a motion travels beyond the path’s edge, such as with some easing equations, the motion’s point value will not move beyond the edge.
Declaration
Swift
case stopAtEdges -
Denotes that a path’s starting and ending edges should be treated as connected, contiguous points. If a motion travels beyond the path’s edge, as can happen with some easing equation classes like
EasingElasticandEasingBack, the motion will continue in the current direction at the beginning of the other edge.Declaration
Swift
case contiguousEdges
View on GitHub