<!--
{
  "availability" : [
    "tvOS: 9.0.0 - 18.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "TVMLKit",
  "identifier" : "/documentation/TVMLKit/TVColor/gradientPoints",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "TVMLKit"
    ],
    "preciseIdentifier" : "c:objc(cs)TVColor(py)gradientPoints"
  },
  "title" : "gradientPoints"
}
-->

# gradientPoints

An array of points used to determine gradient color changes.

```
var gradientPoints: [NSNumber]? { get }
```

## Discussion

This property is only available when [`colorType`](/documentation/TVMLKit/TVColor/colorType) is set to [`TVColorType.linearGradientTopToBottom`](/documentation/TVMLKit/TVColorType/linearGradientTopToBottom) or [`TVColorType.linearGradientLeftToRight`](/documentation/TVMLKit/TVColorType/linearGradientLeftToRight). The points defined in the array determine when a color change occurs using the colors in the [`gradientColors`](/documentation/TVMLKit/TVColor/gradientColors) property.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)