FontMenuItem

@available(iOS 9.0, *)
@objcMembers
@objc(PESDKFontMenuItem)
open class FontMenuItem : NSObject, MenuItem

The menu item that is used in TextFontToolController.

  • The Font that this menu item represents.

    Declaration

    Swift

    public let font: Font
  • The title of the menu item.

    Declaration

    Swift

    public let title: String
  • Creates a new font menu item for the given font.

    Declaration

    Swift

    public convenience init(font: Font)

    Parameters

    font

    The font that this menu item represents.