YMKMasstransitTransportContourStyle
Важно
This feature is available in the Full MapKit SDK version
|
@interface YMKMasstransitTransportContourStyle : NSObject |
Describes the style of transport contour objects
Summary
Class methods
|
+ (nonnull YMKMasstransitTransportContourStyle *)styleWithMainColor:(nullable NSNumber *)mainColor |
Properties
|
@property (nonatomic, readonly, nullable) NSNumber *mainColor; |
|
@property (nonatomic, readonly, nullable) NSNumber *mainColorNight; |
Class methods
styleWithMainColor:mainColorNight:
|
+ (nonnull YMKMasstransitTransportContourStyle *)styleWithMainColor:(nullable NSNumber *)mainColor |
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.