init(color:strength:)

Creates a new spotlight effect with a color and strength.

Declaration

init(color: NSColor? = nil, strength: Float = 1.0)