Gradient

The Gradient object.

Example:Applying a linear gradient color containing evenly distributed color stops:

Run

Example:Create a circle shaped path at the center of the view, using 40% of the height of the view as its radius and fill it with a radial gradient color:

Run

Properties

Methods