Важно
This feature is available in the Full MapKit SDK version
Package com.yandex.mapkit.road_events_layer
Class TextStyle
java.lang.Object
↳ com.yandex.mapkit.road_events_layer.TextStyle
class TextStyle implements Serializable
Summary
Constructors
Signature and Description |
TextStyle() |
TextStyle(float fontSize, |
Methods
Type and modifiers |
Method and Description |
|
getFontSize() |
|
getColor() |
|
getOutlineColor() |
void |
serialize(com.yandex.runtime.bindings.Archive archive) |
|
Constuctors
TextStyle
TextStyle() |
Use constructor with parameters in your code.
This one is for serialization only!
TextStyle
TextStyle(float fontSize, |
Methods
getFontSize
float getFontSize() |
Font size in device-independent pixels.
getColor
int getColor() |
Text primary color.
getOutlineColor
@Nullable |
Text outline color.
Optional field, can be null.
serialize
@Override |
getNativeName
java.lang.String getNativeName() |