OverlayMenuItem

@available(iOS 9.0, *)
@objcMembers
@objc(PESDKOverlayMenuItem)
open class OverlayMenuItem : NSObject, MenuItem

The menu item that is used in OverlayToolController.

Properties

  • The Overlay that this menu item represents.

    Declaration

    Swift

    public let overlay: Overlay
  • 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?

Initializers

  • 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.