TextFontToolController
@available(iOS 9.0, *)
@objcMembers
@objc(PESDKTextFontToolController)
open class TextFontToolController : MenuToolController
extension TextFontToolController: FontSelectorViewControllerDelegate
extension TextFontToolController: TransitionProviding
The tool to edit the font of a sprite label. It contains a menu with available fonts and a
FontSelectorViewController
to see a more detailed view of the fonts.
-
The contained
FontSelectorViewController
.Declaration
Swift
public let fontSelectorViewController: FontSelectorViewController<TextSpriteModel, TextGestureController, TextSelectionView>
-
The currently selected
SpriteView
.Declaration
Swift
open var spriteView: SpriteView? { get set }
-
Creates a new
TextFontToolController
object.Declaration
Swift
public init?(fontSelectorViewController: FontSelectorViewController<TextSpriteModel, TextGestureController, TextSelectionView>, configuration: Configuration, productType: LicenseProduct)
Parameters
fontSelectorViewController
The
FontSelectorViewController
to use as the child controller.configuration
The
Configuration
object to use for configuration.productType
The product that this tool is used in.