Point2DKeyframe
public struct Point2DKeyframe : Hashable
A Point2D keyframe. A keyframe consists of a value and an animation duration.
-
Point2D keyframe value.
Declaration
Swift
public let value: Point2D -
Relative animation duration for reaching the keyframe value. Negative duration value gets clamped to 0.
Declaration
Swift
public let duration: TimeInterval -
Constructs a Point2DKeyframe from the value and offset.
Declaration
Swift
public init(value: Point2D, duration: TimeInterval)Parameters
valuePoint2D keyframe value.
durationRelative animation duration for reaching the keyframe value. Negative duration value gets clamped to 0.