Author
Travis Kirton


Gradients

There is a very easy way to create gradients using C4. Just follow this example:

Example

let g = Gradient(frame: canvas.frame)
canvas.add(g)