EffectMenuItem

@available(iOS 9.0, *)
@objcMembers
@objc(PESDKEffectMenuItem)
open class EffectMenuItem : NSObject, MenuItem

The menu item that is used in FilterToolController.

  • The Effect that this menu item represents.

    Declaration

    Swift

    public let effect: Effect
  • The thumbnail of the effect.

    Declaration

    Swift

    public let thumbnail: UIImage?
  • Creates a new EffectMenuItem for the given effect.

    Declaration

    Swift

    public init(effect: Effect, thumbnail: UIImage? = nil)

    Parameters

    effect

    The Effect that this menu item represents.

    thumbnail

    A thumbnail representing this effect.