ColorToolController

@available(iOS 9.0, *)
open class ColorToolController<SpriteModelType, GestureController, SelectionView> : MenuToolController, BrandedTool where SpriteModelType : SpriteModel, GestureController : SpriteGestureController<SpriteModelType, SelectionView>, SelectionView : UIView
extension ColorToolController: ColorPickerViewControllerDelegate
extension ColorToolController: TransitionProviding

A ColorToolController presents a menu with a list of colors at the bottom and a ColorPickerViewController at the top.

Properties

Initializers

Colors

  • The array of color menu items that the menu should display.

    Declaration

    Swift

    open var colorMenuItems: [ColorMenuItem] { get }