-
The hex value of the color.
Declaration
Swift
public let resourceId: String
-
The id of the color.
Declaration
Swift
public let label: String
-
For pattern style colors that can\‘t be defined with a hex code (e.g. plaid, stripes)
Declaration
Swift
public let hex: String?
-
The display name of the color.
Declaration
Swift
public let imagePattern: ImageResourceType?
-
The display name of the color.
Declaration
Swift
public init?(json: JSON)
Parameters
json
JSON representation of object.
Return Value
New instance when JSON parsing successful, false otherwise.