ColorRepresentable
public struct ColorRepresentable : Codable, Equatable
Container to represent UIColorfor use by the map renderer
-
Undocumented
Declaration
Swift
public var rgbaDescription: String? { get } -
Create a string representation of a
UIColorDeclaration
Swift
public init(color: UIColor)Parameters
colorA
UIColorinstance in the sRGB color spaceReturn Value
Initializes a
ColorRepresentableinstance if thecoloris in sRGB color space. -
Declaration
Swift
public func encode(to encoder: Encoder) throws -
Declaration
Swift
public init(from decoder: Decoder) throws
ColorRepresentable Structure Reference