CAGradientLayer() // Returns an initialized CALayer object.
CAGradientLayer(layer: layer) // Override to copy or initialize custom fields of the specified layer.
ParameterDetailscolorAn array of CGColorRef objects defining the color of each gradient stop. Animatable.locationsAn optional ar...