TextDesignToolControllerOptions
@available(iOS 9.0, *)
@objc(PESDKTextDesignToolControllerOptions)
open class TextDesignToolControllerOptions : ToolControllerOptions
Options for configuring a TextDesignToolController
.
-
Use this closure to configure the text input view. Defaults to an empty implementation.
Declaration
Swift
open let textViewConfigurationClosure: ((UITextView) -> Void)?
-
Use this closure to configure the dimming view.
Declaration
Swift
open let dimmingViewConfigurationClosure: ((UIView) -> Void)?
-
Use this closure to configure the color collection view.
Declaration
Swift
open let colorCollectionViewConfigurationClosure: ((ColorCollectionView) -> Void)?
-
The title of the tool when it is used to update an existing label.
Declaration
Swift
open let updateTitle: String?
-
The color palette to display.
Declaration
Swift
open let colorPalette: ColorPalette
-
Creates a new instance of
TextDesignToolControllerOptions
using the given builder.Declaration
Swift
public init(builder: TextDesignToolControllerOptionsBuilder)
Parameters
builder
A
TextDesignToolControllerOptionsBuilder
object.