CropAspectMenuItem
@available(iOS 9.0, *)
@objcMembers
@objc(PESDKCropAspectMenuItem)
open class CropAspectMenuItem : NSObject, MenuItem
The menu item that is used in TransformToolController
.
-
The
CropAspect
that this menu item represents ornil
if it represents theFree
crop.Declaration
Swift
open let cropAspect: CropAspect?
-
The title of the menu item.
Declaration
Swift
open let title: String
-
Whether this crop aspect can be rotated.
Declaration
Swift
open let rotatable: Bool
-
Creates a new crop aspect menu item for the given crop aspect.
Declaration
Swift
public init(cropAspect: CropAspect)
Parameters
cropAspect
The crop aspect that this menu item represents.
-
Creates a new crop aspect menu item with the given title and no associated crop aspect.
Declaration
Swift
public init(title: String)
Parameters
title
The title of this menu item.