OverlayMenuItem
@available(iOS 9.0, *)
@objcMembers
@objc(PESDKOverlayMenuItem)
open class OverlayMenuItem : NSObject, MenuItem
The menu item that is used in OverlayToolController
.
-
The title of the menu item.
Declaration
Swift
public let title: String
-
The url to the thumbnail image of this overlay.
Declaration
Swift
public let thumbnailURL: URL?
-
An optional thumbnail image. If this is set,
thumbnailURL
won’t be used.Declaration
Swift
public let thumbnail: UIImage?
-
Creates a new overlay menu item for the given overlay.
Declaration
Swift
public convenience init(overlay: Overlay, thumbnail: UIImage? = nil)
Parameters
overlay
The overlay that this menu item represents.