FrameMenuItem

@available(iOS 9.0, *)
@objcMembers
@objc(PESDKFrameMenuItem)
open class FrameMenuItem : NSObject, MenuItem

The menu item that is used in FrameToolController.

  • The Frame that this menu item represents or nil if it represents the no frame option.

    Declaration

    Swift

    public let frame: Frame?
  • The url to the thumbnail image of the frame.

    Declaration

    Swift

    public let thumbnailURL: URL?
  • Creates a new frame menu item for the given frame.

    Declaration

    Swift

    public convenience init(frame: Frame, ratio: CGFloat)

    Parameters

    frame

    The frame that this menu item represents.

    ratio

    The ratio to create the thumbnail url for.

  • Creates a frame menu item for the no frame option.

    Declaration

    Swift

    public convenience override init()