Warning

This feature is available in the Full MapKit SDK version

MMKMasstransitTransportContourStyle

@interface MMKMasstransitTransportContourStyle : NSObject

Describes the style of transport contour objects

Summary

Class methods

+ (nonnull MMKMasstransitTransportContourStyle *)styleWithMainColor:(nullable NSNumber *)mainColor
                                                     mainColorNight:(nullable NSNumber *)mainColorNight;

Properties

@property (nonatomic, readonly, nullable) NSNumber *mainColor;
Describes the main color of transport contour

@property (nonatomic, readonly, nullable) NSNumber *mainColorNight;
Optional field, can be nil

Class methods

styleWithMainColor:mainColorNight:

+ (nonnull MMKMasstransitTransportContourStyle *)styleWithMainColor:(nullable NSNumber *)mainColor
                                                     mainColorNight:(nullable NSNumber *)mainColorNight;


Properties

mainColor

@property (nonatomic, readonly, nullable) NSNumber *mainColor;

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

@property (nonatomic, readonly, nullable) NSNumber *mainColorNight;

Optional field, can be nil.