The color data used by styles.


class TVColor : NSObject


Getting Color Properties

var color: UIColor?

A UIColor object used to color an element.

var colorType: TVColorType

The color type for an element.

enum TVColorType

Designates how color for an element is to be displayed.

var gradientColors: [UIColor]?

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

var gradientPoints: [NSNumber]?

An array of points used to determine gradient color changes.


Inherits From

See Also

Custom Styles

class TVViewElementStyle

A style applied to a view element.

class TVStyleFactory

An object used to register custom style properties.