Color

@objcMembers
@objc(PESDKColor)
open class Color : NSObject

Represents a color and a matching name for accessibility.

Properties

  • The actual color that this object represents.

    Declaration

    Swift

    public let color: UIColor
  • A name for color, used for accessibility.

    Declaration

    Swift

    public let colorName: String

Initializer

  • Creates a new Color object.

    Declaration

    Swift

    public convenience init(color: UIColor, colorName: String)

    Parameters

    color

    The actual color that this object represents.

    colorName

    The name for color, used for accessibility.