TextColorToolControllerOptionsBuilder

@objc(IMGLYTextColorToolControllerOptionsBuilder) open class TextColorToolControllerOptionsBuilder: ToolControllerOptionsBuilder

The default TextColorToolControllerOptionsBuilder for TextColorToolControllerOptions.

  • This closure allows further configuration of the right dragging handle which can be used to resize the right side of the text’s bounding box.

    Declaration

    Swift

    open var rightDraggingHandleConfigurationClosure: ((UIImageView) -> Void)?
  • This closure allows further configuration of the left dragging handle which can be used to resize the left side of the text’s bounding box.

    Declaration

    Swift

    open var leftDraggingHandleConfigurationClosure: ((UIImageView) -> Void)?
  • A list of colors that is available in the text color dialog. This property is optional.

    Declaration

    Swift

    open var availableFontColors: [UIColor]?
  • A list of color-names that is available in the text color dialog. This property is optional.

    Declaration

    Swift

    open var availableFontColorNames: [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 textColorActionButtonConfigurationClosure: ((ColorCollectionViewCell, UIColor, String) -> Void)?
  • This closure is called every time the user selects an action

    Declaration

    Swift

    open var textColorActionSelectedClosure: ((UIColor, String) -> Void)?