ColorMenuItem
@available(iOS 9.0, *)
@objcMembers
@objc(PESDKColorMenuItem)
open class ColorMenuItem : NSObject, MenuItem
The menu item that is used in ColorToolController
.
-
The color of this menu item.
Declaration
Swift
public let color: UIColor
-
The name of the color of this menu item.
Declaration
Swift
public let colorName: String
-
Creates a new menu item for the given color and color name.
Declaration
Swift
public convenience init(color: UIColor, colorName: String)
Parameters
color
The color of this menu item.
colorName
The name of the color of this menu item.