ColorToolControllerOptionsBuilder
@objc(PESDKColorToolControllerOptionsBuilder) open class ColorToolControllerOptionsBuilder: ToolControllerOptionsBuilder
The default ColorToolControllerOptionsBuilder
for ColorToolControllerOptions
.
-
A list of colors that is available in the color dialog. This property is optional.
Declaration
Swift
open var availableColors: [UIColor]?
-
A list of color-names that is available in the color dialog. This property is optional.
Declaration
Swift
open var availableColorNames: [String]?
-
This closure allows further configuration of the action buttons. The closure is called for each action button and has the button and its corresponding color and color name as parameters.
Declaration
Swift
open var colorActionButtonConfigurationClosure: ((ColorCollectionViewCell, UIColor, String) -> Void)?
-
This closure is called every time the user selects an action
Declaration
Swift
open var colorActionSelectedClosure: ((UIColor, String) -> Void)?