Instance Property

tensionValues

An array of NSNumber objects that define the tightness of the curve.

Declaration

var tensionValues: [NSNumber]? { get set }

Discussion

This property is used only for the cubic calculation modes. Positive values indicate a tighter curve while negative values indicate a rounder curve. The first value defines the behavior of the tangent to the first control point, the second value controls the second point’s tangents, and so on. If you do not specify a value for a given control point, the value 0 is used.

See Also

Cubic Mode Attributes

var continuityValues: [NSNumber]?

An array of NSNumber objects that define the sharpness of the timing curve’s corners.

var biasValues: [NSNumber]?

An array of NSNumber objects that define the position of the curve relative to a control point.