TextColorToolControllerOptions
@available(iOS 9.0, *)
@objc(PESDKTextColorToolControllerOptions)
open class TextColorToolControllerOptions : ColorToolControllerOptions
Options for configuring a TextColorToolController
.
-
An array of colors to present in the color tool when the
textColorMode
ofTextColorToolController
is.background
. If you modify this array, you will also have to update theavailableBackgroundTextColorNames
array. Both arrays must have the same number of elements.Declaration
Swift
open let availableBackgroundTextColors: [UIColor]
-
The names corresponding to the colors passed in
availableBackgroundTextColors
. These names are used for accessibility.Declaration
Swift
open let availableBackgroundTextColorNames: [String]
-
Creates a new instance of
TextColorToolControllerOptions
using the given builder.Declaration
Swift
public init(textBuilder: TextColorToolControllerOptionsBuilder)
Parameters
textBuilder
A
TextColorToolControllerOptionsBuilder
object.