FrameToolController
@available(iOS 9.0, *)
@objcMembers
@objc(PESDKFrameToolController)
open class FrameToolController : MenuToolController, TransformEditControllerDelegate, BrandedTool
extension FrameToolController: TransitionProviding
The tool controller to edit the frame. It contains a menu with the available frames for the
image’s current aspect ratio and a FrameEditController
to display the frame.
-
The currently selected frame.
Declaration
Swift
open var selectedFrame: Frame?
-
The contained
FrameEditController
.Declaration
Swift
public let frameEditController: FrameEditController
-
The photo edit model.
Declaration
Swift
open override var photoEditModel: PhotoEditModel { get set }
-
Creates a new
FrameToolController
object.Declaration
Swift
public init?( frameEditController: FrameEditController, configuration: Configuration, productType: LicenseProduct )
Parameters
frameEditController
The
FrameEditController
to use as the child controller.configuration
The
Configuration
object to use for configuration.productType
The product that this tool is used in.