ColorPalette

@objcMembers
@objc(PESDKColorPalette)
open class ColorPalette : NSObject

Represents a collection of colors.

  • The colors that this palette contains.

    Declaration

    Swift

    public let colors: [Color]
  • Creates a new ColorPalette object with a given color palette.

    Declaration

    Swift

    public init(colors: [Color])

    Parameters

    colors

    The colors in this palette.