OverlayToolControllerOptionsBuilder
@available(iOS 9.0, *)
@objcMembers
@objc(PESDKOverlayToolControllerOptionsBuilder)
open class OverlayToolControllerOptionsBuilder : ToolControllerOptionsBuilder
The default OverlayToolControllerOptionsBuilder
for OverlayToolControllerOptions
.
-
This closure can be used to configure the overlay intensity slider.
Declaration
Swift
open var overlayIntensitySliderConfigurationClosure: ((Slider) -> Void)?
-
This closure can be used to configure the overlay intensity slider’s container view.
Declaration
Swift
open var overlayIntensitySliderContainerConfigurationClosure: ViewConfigurationClosure?
-
Enable/Disable the overlay intensity slider. Defaults to true.
Declaration
Swift
open var showOverlayIntensitySlider: Bool
-
This closure is called every time the user selects a overlay.
Declaration
Swift
open var overlaySelectedClosure: ((Overlay) -> Void)?
-
This closure is called every time the user selects a new blend mode.
Declaration
Swift
open var blendModeSelectedClosure: ((BlendMode) -> Void)?
-
Enable/Disable the overlay blend mode selection view. Defaults to true.
Declaration
Swift
open var showModeSelectionView: Bool
-
This closure allows further configuration of the overlay cells. The closure is called for each filter cell and has the cell and its corresponding instance of
Overlay
as parameters.Declaration
Swift
open var overlayCellConfigurationClosure: ((FilterCollectionViewCell, Overlay) -> Void)?
-
The initial intensity that should be set when selecting an overlay.
Declaration
Swift
open var initialOverlayIntensity: CGFloat
-
The allowed blend modes.
Declaration
Swift
open var allowedBlendModes: [BlendMode]
-
This closure allows further configuration of the mode selection view.
Declaration
Swift
open var overlayModeSelectionViewConfigurationClosure: ((UICollectionView) -> Void)?
-
This closure allows further configuration of the mode selection cell.
Declaration
Swift
open var overlayModeSelectionCellConfigurationClosure: ((LabelBorderedCollectionViewCell, BlendMode) -> Void)?