OverlayToolControllerOptionsBuilder
@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: SliderConfigurationClosure?
-
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 = true
-
The intensity that should be initialy applied to a overlay when selecting it. Defaults to 75 %.
Declaration
Swift
open var initialOverlayIntensity: CGFloat = 1
-
This closure is called every time the user selects a overlay.
Declaration
Swift
open var overlaySelectedClosure: ((Overlay) -> Void)?
-
Enable/Disable the overlay blend mode selection view. Defaults to true.
Declaration
Swift
open var showModeSelectionView: Bool = true
-
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)?
-
This closure allows further configuration of the mode selection view.
Declaration
Swift
open var overlayModeSelectionViewConfigurationClosure: ((ModeSelectionView) -> Void)?
-
This closure allows further configuration of the mode selection cell.
Declaration
Swift
open var overlayModeSelectionCellwConfigurationClosure: ((ModeCollectionViewCell) -> Void)?