We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
You can now add shadows to shapes. Use default value:
Shape(form: Circle(cx: 0, cy: 0, r: 150), fill: Color.purple, effect: Effect.dropShadow())
Or specify your own values:
let circle = Shape(form: Circle(cx: 50, cy: 50, r: 50), fill: Color.purple) circle.effect = Effect.dropShadow(dx: 10, dy: 10, radius: 5, color: .green)