EffectMenuItem
@available(iOS 9.0, *)
@objcMembers
@objc(PESDKEffectMenuItem)
open class EffectMenuItem : NSObject, MenuItem
The menu item that is used in FilterToolController
.
-
The thumbnail of the effect.
Declaration
Swift
public let thumbnail: UIImage?
-
Creates a new
EffectMenuItem
for the given photo effect.Attention
This initializer is deprecated and will be removed in the future. It is only meant for backward compatibility. Use
init(effect:)
instead.Declaration
Swift
@available(*, deprecated, renamed: "init(effect:﹚") convenience init(photoEffect: Effect)
Parameters
photoEffect
The
Effect
that this menu item represents.