StickerToolControllerOptionsBuilder
@objc(PESDKStickerToolControllerOptionsBuilder) open class StickerToolControllerOptionsBuilder: ToolControllerOptionsBuilder
The default StickerToolControllerOptionsBuilder
for StickerToolControllerOptions
.
-
This closure is called when the user adds a sticker.
Declaration
Swift
open var addedStickerClosure: ((Sticker) -> Void)?
-
This closure allows further configuration of the sticker category buttons. The closure is called for each sticker category button and has the button and its corresponding sticker category as parameters.
Declaration
Swift
open var stickerCategoryButtonConfigurationClosure: ((IconBorderedCollectionViewCell, StickerCategory) -> Void)?
-
This closure allows further configuration of the sticker buttons. The closure is called for each sticker button and has the button and its corresponding sticker as parameters.
Declaration
Swift
open var stickerButtonConfigurationClosure: ((StickerCollectionViewCell, Sticker) -> Void)?
-
The size of the stickers in the preview. Default is
(44, 44)
.Declaration
Swift
open var stickerPreviewSize: CGSize = CGSize(width: 44, height: 44)