ColorCircle

open class ColorCircle : UIControl

The ColorCircle class implements the control to select a color from the color circle.

Control sends UIControlEvents.ValueChanged event.

  • Sets the color.

    Declaration

    Swift

    open func setColor(_ color: UIColor, animated: Bool, sendEvent: Bool)

    Parameters

    color

    The color to set.

    animated

    true if animate the change, and false if it should be immediately.

    sendEvent

    A Boolean value specifying whether to send the action message.