TextFontToolControllerOptionsBuilder

@available(iOS 9.0, *)
@objcMembers
@objc(PESDKTextFontToolControllerOptionsBuilder)
open class TextFontToolControllerOptionsBuilder : ToolControllerOptionsBuilder

The default TextFontToolControllerOptionsBuilder for TextFontToolControllerOptions.

  • 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 var actionButtonConfigurationClosure: ((MenuCollectionViewCell, Font) -> Void)?
  • This closure is called every time the user selects a crop ratio.

    Declaration

    Swift

    open var 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 var 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 var handleButtonConfigurationClosure: ((HandleButton) -> Void)?