TextOptionsToolController
@available(iOS 9.0, *)
@objcMembers
@objc(PESDKTextOptionsToolController)
open class TextOptionsToolController : MenuToolController, BrandedTool
The tool controller to edit text. It contains a menu with options to change attributes of the
text and a SpriteEditController
to change a text’s geometry.
-
The contained
SpriteEditController
.Declaration
Swift
public let spriteEditController: SpriteEditController<TextSpriteModel, TextGestureController, TextSelectionView>
-
The selected
SpriteView
.Declaration
Swift
open var spriteView: SpriteView? { get set }
-
Creates a new
TextOptionsToolController
object.Declaration
Swift
public init?(spriteEditController: SpriteEditController<TextSpriteModel, TextGestureController, TextSelectionView>, configuration: Configuration, productType: LicenseProduct)
Parameters
spriteEditController
The
SpriteEditController
to use as the child controller.configuration
The
Configuration
object to use for configuration.productType
The product that this tool is used in.
-
An array of all overlay buttons that are displayed in the controller. This includes
undoButton
andredoButton
.Declaration
Swift
open private(set) var overlayButtons: [OverlayButton]
-
The undo button that is displayed in the controller.
Declaration
Swift
open private(set) var undoButton: OverlayButton?
-
The redo button that is displayed in the controller.
Declaration
Swift
open private(set) var redoButton: OverlayButton?