TextColorToolControllerOptions

@objc(PESDKTextColorToolControllerOptions) open class TextColorToolControllerOptions: ColorToolControllerOptions

Options for configuring a TextColorToolController.

  • 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)?
  • Returns a newly allocated instance of TextColorToolControllerOptions using the default builder.

    Declaration

    Swift

    public convenience init()

    Return Value

    An instance of TextColorToolControllerOptions.

  • Returns a newly allocated instance of TextColorToolControllerOptions using the given builder.

    Declaration

    Swift

    public init(textBuilder: TextColorToolControllerOptionsBuilder)

    Parameters

    textBuilder

    A TextColorToolControllerOptionsBuilder instance.

    Return Value

    An instance of TextColorToolControllerOptions.