Class Style
Warning
This feature is available in the Full MapKit SDK version
Package world.mappable.mapkit.transport.masstransit
java.lang.Object
↳ world.mappable.mapkit.transport.masstransit.TransportContour.Style
static class Style implements Serializable
Describes the style of transport contour objects
Summary
Constructors
|
Signature and Description |
|
Style(@Nullable java.lang.Integer mainColor, |
|
Style() |
Methods
|
Type and modifiers |
Method and Description |
|
java.lang.Integer |
getMainColor() |
|
java.lang.Integer |
getMainColorNight() |
|
void |
serialize(world.mappable.runtime.bindings.Archive archive) |
Constuctors
Style
|
Style(@Nullable java.lang.Integer mainColor, |
Style
|
Style() |
Use constructor with parameters in your code.
This one is for bindings only!
Methods
getMainColor
|
@Nullable |
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 null.
getMainColorNight
|
@Nullable |
Optional field, can be null.
serialize
|
@Override |