FrameToolControllerOptions
@available(iOS 9.0, *)
@objcMembers
@objc(PESDKFrameToolControllerOptions)
open class FrameToolControllerOptions : ToolControllerOptions
Options for configuring a FrameToolController
.
-
This closure is called when the user selects a frame. The closure is passed
nil
when no frame was selected.Declaration
Swift
public let selectedFrameClosure: ((Frame?) -> Void)?
-
This closure allows further customization of the cells of a frame.
Declaration
Swift
public let cellConfigurationClosure: ((MenuCollectionViewCell, Frame?) -> Void)?
-
Whether rotation using a rotation gesture should be enabled.
false
by default.Declaration
Swift
public let rotationEnabled: Bool
-
Creates a newly allocated instance of
FrameToolControllerOptions
using the default builder.Declaration
Swift
public convenience init()
-
Creates a newly allocated instance of
FrameToolControllerOptions
using the given builder.Declaration
Swift
public init(builder: FrameToolControllerOptionsBuilder)
Parameters
builder
A
FrameToolControllerOptionsBuilder
instance.