Instance Property

gradientPoints

An array of points used to determine gradient color changes.

Declaration

@property(nonatomic, readonly) NSArray<NSNumber *> *gradientPoints;

Discussion

This property is only available when colorType is set to TVColorTypeLinearGradientTopToBottom or TVColorTypeLinearGradientLeftToRight. The points defined in the array determine when a color change occurs using the colors in the gradientColors property.

See Also

Getting Color Properties

color

A UIColor object used to color an element.

colorType

The color type for an element.

TVColorType

Designates how color for an element is to be displayed.

gradientColors

An array of colors used to create a gradient for an element.