locations An array of location indexes that correspond to their respective colors. Declarationvar locations: [CGFloat] { get } See AlsoAccessing the gradient colorssetColors(_:locations:)setColors(_:locations:)colors