StickerOptionsToolController
@available(iOS 9.0, *)
@objcMembers
@objc(PESDKStickerOptionsToolController)
open class StickerOptionsToolController : MenuToolController
The tool controller to edit stickers. It contains a menu with options to change attributes of
the sticker and a SpriteEditController
to change a sticker’s geometry.
-
The contained
StickerEditController
.Declaration
Swift
public let stickerEditController: StickerEditController
-
The selected
SpriteView
.Declaration
Swift
open var spriteView: SpriteView? { get set }
-
Creates a new
StickerOptionsToolController
object.Declaration
Swift
public init?(stickerEditController: StickerEditController, configuration: Configuration, productType: LicenseProduct)
Parameters
stickerEditController
The
StickerEditController
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?