TextDesignToolControllerOptionsBuilder
@objcMembers
@objc(PESDKTextDesignToolControllerOptionsBuilder)
open class TextDesignToolControllerOptionsBuilder : ToolControllerOptionsBuilder
The default TextDesignToolControllerOptionsBuilder
for TextDesignToolControllerOptions
.
-
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)?
-
Use this closure to configure the color collection view.
Declaration
Swift
open var colorCollectionViewConfigurationClosure: ((ColorCollectionView) -> Void)?
-
The title of the tool when it is used to update an existing label.
Declaration
Swift
open var updateTitle: String?
-
The color palette to display.
Declaration
Swift
open var colorPalette: ColorPalette
-
Whether the user can use emojis as text input. Default is
true
.Attention
Emojis are not cross-platform compatible. If you use the serialization feature to share edits across different platforms emojis will be rendered with the system’s local set of emojis and will appear differently.Declaration
Swift
@available(iOS 10.2, *) open lazy var emojisEnabled: Bool { get set }
-
Creates a new instance of
TextDesignToolControllerOptionsBuilder
initialized with the given options.Declaration
Swift
public init(options: TextDesignToolControllerOptions)
Parameters
options
A
TextDesignToolControllerOptions
instance.