Warning
This feature is available in the Full MapKit SDK version
MMKRoadEventsLayerTextStyle
@interface MMKRoadEventsLayerTextStyle : NSObject |
Undocumented
Summary
Class methods
+ (nonnull MMKRoadEventsLayerTextStyle *)textStyleWithFontSize:( float)fontSize |
Properties
@property (nonatomic, readonly) float fontSize; |
@property (nonatomic, readonly, nonnull) UIColor *color; |
@property (nonatomic, readonly, nullable) UIColor *outlineColor; |
Class methods
textStyleWithFontSize:color:outlineColor:
+ (nonnull MMKRoadEventsLayerTextStyle *)textStyleWithFontSize:( float)fontSize |
Properties
fontSize
@property (nonatomic, readonly) float fontSize; |
Font size in device-independent pixels.
color
@property (nonatomic, readonly, nonnull) UIColor *color; |
Text primary color.
outlineColor
@property (nonatomic, readonly, nullable) UIColor *outlineColor; |
Text outline color.
Optional field, can be nil.