RingLightGradientView
@MainActor
public class RingLightGradientView : UIView
Undocumented
-
Updates the intensity of the ring light effect to the specified intensity.
Declaration
Swift
@MainActor public func updateIntensity(to intensity: CGFloat, animated: Bool)Parameters
intensityThe intensity to set the ring light effect to. Value should be between 0.0 and 1.0.
animatedWhether or not the change in intensity is animated.
-
Changes the color of the ring light gradient to the specified color.
Declaration
Swift
@MainActor public func changeColor(to color: UIColor)Parameters
colorThe color to set the ring light gradient to.
-
Undocumented
Declaration
Swift
@MainActor override public init(frame: CGRect) -
Undocumented
Declaration
Swift
@MainActor public required init?(coder: NSCoder)