TextFontToolControllerOptions
@objc(PESDKTextFontToolControllerOptions) open class TextFontToolControllerOptions: ToolControllerOptions
Options for configuring a TextFontToolController
.
-
This closure allows further configuration of the right dragging handle which can be used to resize the right side of the text’s bounding box.
Declaration
Swift
open let rightDraggingHandleConfigurationClosure: ((UIImageView) -> Void)?
-
This closure allows further configuration of the left dragging handle which can be used to resize the left side of the text’s bounding box.
Declaration
Swift
open let leftDraggingHandleConfigurationClosure: ((UIImageView) -> Void)?
-
This closure allows further configuration of the action buttons. The closure is called for each action button and has the button and its corresponding action as parameters.
Declaration
Swift
open let actionButtonConfigurationClosure: ((LabelCaptionCollectionViewCell, String) -> Void)?
-
This closure is called every time the user selects a crop ratio.
Declaration
Swift
open let textFontActionSelectedClosure: ((String) -> Void)?
-
This closure allows further configuration of the font selector view, i.e. the view that can be expanded from the bottom to display a more detailed view of the fonts.
Declaration
Swift
open let fontSelectorViewConfigurationClosure: ((FontSelectorView) -> Void)?
-
This closure allows further configuration of the handle button, i.e. the view that is used to expand the font selector view.
Declaration
Swift
open let handleButtonConfigurationClosure: ((HandleButton) -> Void)?
-
Returns a newly allocated instance of
TextFontToolControllerOptions
using the default builder.Declaration
Swift
public convenience init()
Return Value
An instance of
TextFontToolControllerOptions
. -
Returns a newly allocated instance of
TextColorToolControllerOptions
using the given builder.Declaration
Swift
public init(builder: TextFontToolControllerOptionsBuilder)
Parameters
builder
A
TextColorToolControllerOptionsBuilder
instance.Return Value
An instance of
TextColorToolControllerOptions
.