Warning

This feature is available in the Full MapKit SDK version

MMKRoadEventsLayerTextStyle

@interface MMKRoadEventsLayerTextStyle : NSObject

Undocumented

Summary

Class methods

+ (nonnull MMKRoadEventsLayerTextStyle *)textStyleWithFontSize:( float)fontSize
                                                         color:(nonnull UIColor *)color
                                                  outlineColor:(nullable UIColor *)outlineColor;

Properties

@property (nonatomic, readonly) float fontSize;
Font size in device-independent pixels

@property (nonatomic, readonly, nonnull) UIColor *color;
Text primary color

@property (nonatomic, readonly, nullable) UIColor *outlineColor;
Text outline color

Class methods

textStyleWithFontSize:color:outlineColor:

+ (nonnull MMKRoadEventsLayerTextStyle *)textStyleWithFontSize:( float)fontSize
                                                         color:(nonnull UIColor *)color
                                                  outlineColor:(nullable UIColor *)outlineColor;


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.