Class ManeuverStyle

com.yandex.mapkit.directions.driving

java.lang.Object ⇽ ManeuverStyle

public class ManeuverStyle

The style that is used to display maneuvers on the map.

Constructors

ManeuverStyle(int fillColor, int outlineColor, float outlineWidth, float length, float triangleHeight, boolean enabled)
ManeuverStyle()

Use constructor with parameters in your code.

Methods

boolean getEnabled()

Enables/disables maneuvers.

int getFillColor()

Fill color of the arrow.

float getLength()

Overall length of the arrow (including the tip) in units.

int getOutlineColor()

Color of the arrow's outline.

float getOutlineWidth()

Width of the arrow's outline in units.

float getTriangleHeight()

Height of the arrow tip in units.

void serialize(Archive archive)

Constructor Detail

ManeuverStyle

public ManeuverStyle (int fillColor, int outlineColor, float outlineWidth, float length, float triangleHeight, boolean enabled)

ManeuverStyle

public ManeuverStyle ()

Use constructor with parameters in your code.

This one is for bindings only!

Method Detail

getEnabled

public boolean getEnabled ()

Enables/disables maneuvers.

getFillColor

public int getFillColor ()

Fill color of the arrow.

getLength

public float getLength ()

Overall length of the arrow (including the tip) in units.

getOutlineColor

public int getOutlineColor ()

Color of the arrow's outline.

getOutlineWidth

public float getOutlineWidth ()

Width of the arrow's outline in units.

getTriangleHeight

public float getTriangleHeight ()

Height of the arrow tip in units.

serialize

public void serialize (Archive archive)