Warning

This feature is available in the Full MapKit SDK version

MMKMasstransitTransportContourStyle

class MMKMasstransitTransportContourStyle : NSObject

Describes the style of transport contour objects

Summary

Class methods

 init(mainColor: NSNumber?, mainColorNight: NSNumber?)

Properties

var mainColor: NSNumber? { get }
Describes the main color of transport contour

var mainColorNight: NSNumber? { get }
Optional field, can be nil

Class methods

init(mainColor:mainColorNight:)

 init(mainColor: NSNumber?, mainColorNight: NSNumber?)


Properties

mainColor

var mainColor: NSNumber? { get }

Describes the main color of transport contour. Main color is used to identify the object among others. For example, the color of MCD line icon meant to be the main color of the contour. Presented in versions for light and dark themes.

Optional field, can be nil.


mainColorNight

var mainColorNight: NSNumber? { get }

Optional field, can be nil.