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
-
Creates a new instance of
TextToolControllerOptionsBuilder
initialized with the given options.Declaration
Swift
public init(options: TextToolControllerOptions)
Parameters
options
A
TextToolControllerOptions
instance.