TextToolControllerOptionsBuilder

@available(iOS 9.0, *)
@objcMembers
@objc(PESDKTextToolControllerOptionsBuilder)
open class TextToolControllerOptionsBuilder : ToolControllerOptionsBuilder

The default TextToolControllerOptionsBuilder for TextToolControllerOptions.

  • Use this closure to configure the text input view.

    Declaration

    Swift

    open var textViewConfigurationClosure: ((UITextView) -> Void)?
  • Use this closure to configure the dimming view.

    Declaration

    Swift

    open var dimmingViewConfigurationClosure: ((UIView) -> Void)?
  • The title of the tool when it is used to update an existing label.

    Declaration

    Swift

    open var updateTitle: String?
  • The default color a newly created text has.

    Declaration

    Swift

    open var defaultTextColor: UIColor