init(color:strength:opacityFunction:)
Creates a new spotlight effect with a color and strength.
Declaration
init(color: NSColor? = nil, strength: Float = 1.0, opacityFunction: HoverEffectComponent.OpacityFunction)Creates a new spotlight effect with a color and strength.
init(color: NSColor? = nil, strength: Float = 1.0, opacityFunction: HoverEffectComponent.OpacityFunction)