Color
public struct Color : Decodable
Line or branch color information
-
Enum type of line or branch
See moreDeclaration
Swift
public enum Mode : CustomStringConvertible -
Type of line or branch
Declaration
Swift
public var mode: Mode { get } -
Lines or branches for this Color
Declaration
Swift
public var lineOrBranch: [String] { get } -
as UIColor
Throws
If RGBHex format is invalidDeclaration
Swift
public func asUIColor() throws -> UIColorReturn Value
Color value as a
UIColor -
RGB Hex value
Declaration
Swift
public let rgbHex: String -
Pantone CVC value
Declaration
Swift
public let pantoneCVC: String -
CMYK value
Declaration
Swift
public let cmyk: String
View on GitHub
Color Structure Reference