BrushMenuItem
@available(iOS 9.0, *)
@objcMembers
@objc(PESDKBrushMenuItem)
open class BrushMenuItem : NSObject, MenuItem
The menu item that is used in BrushToolController
-
The title of the menu item.
Declaration
Swift
open var title: String
-
The icon of the menu item.
Declaration
Swift
open var icon: UIImage?
-
Creates a new brush menu item for the given brush tool.
Declaration
Swift
public convenience init(brushTool: BrushTool)
Parameters
brushTool
The brush tool that this menu item represents.