AuthorTravis Kirton
Tags shapes, gradients
Oh yes. Yes… Yes, you can fill your shapes with gradients.
let star = Star(center: canvas.center, pointCount: 30, innerRadius: 125, outerRadius: 150) star.gradientFill = Gradient(frame: star.bounds) canvas.add(star)