Color

public struct Color : Codable
  • Color of the marker when it is active

    Declaration

    Swift

    public var active: String?
  • Color of the marker when it is inactive (grayed out due to being outranked by other labels around)

    Declaration

    Swift

    public var inactive: String?
  • Construct a MPIOptions.LabelAppearance.Color object with the given properties

    Declaration

    Swift

    public init(active: String? = nil, inactive: String? = nil)

    Parameters

    active

    set the color of the marker when it is active

    inactive

    set the color of the marker when it is inactive