TextToolControllerOptions
@objc(PESDKTextToolControllerOptions) open class TextToolControllerOptions: ToolControllerOptions
Options for configuring a TextToolController
.
-
Use this closure to configure the text input view. Defaults to an empty implementation.
Declaration
Swift
open let textViewConfigurationClosure: ((UITextView) -> Void)?
-
The title of the tool when it is used to update an existing label.
Declaration
Swift
open let updateTitle: String?
-
The default color a newly created text has.
Declaration
Swift
open let defaultTextColor: UIColor
-
Returns a newly allocated instance of a
MainToolControllerOptions
using the default builder.Declaration
Swift
public convenience init()
Return Value
An instance of a
MainToolControllerOptions
. -
Returns a newly allocated instance of a
TextToolControllerOptions
using the given builder.Declaration
Swift
public init(builder: TextToolControllerOptionsBuilder)
Parameters
builder
A
TextToolControllerOptionsBuilder
instance.Return Value
An instance of a
TextToolControllerOptions
.