TextFontToolControllerOptionsBuilder

@objc(PESDKTextFontToolControllerOptionsBuilder) open class TextFontToolControllerOptionsBuilder: ToolControllerOptionsBuilder

The default TextFontToolControllerOptionsBuilder for TextFontToolControllerOptions.

  • 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 var 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 var 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 var actionButtonConfigurationClosure: ((LabelCaptionCollectionViewCell, String) -> 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)?