CAGradientLayer | Apple Developer Documentation
A layer that draws a color gradient over its background color, filling the shape of the layer.