HERE Android SDK Developer's Guide

TransitLineStyle

The class TransitLineStyle is a member of com.here.android.mpa.search .

Class Summary

public class TransitLineStyle

extends java.lang.Object

Represents the styling guideline information for the public transport line.

[For complete information, see the section Class Details]

Method Summary

Table 1. Methods in TransitLineStyle
Methods

public boolean equals (Object obj)

public String getColor ()

Gets the color value assigned to a line.

public String getIconShape ()

Gets the shape style identifying the icon for the line.

public String getOutlineColor ()

Gets the color of the border around the line name.

public String getTextColor ()

Gets the text color that should get used when the line color is used as background color.

public int hashCode ()

For documentation, see java.lang.Object

Class Details

Represents the styling guideline information for the public transport line. All colors are in hex format.

Method Details

public boolean equals (Object obj)

Parameters:

  • obj

public String getColor ()

Gets the color value assigned to a line.

Returns:

The line color value (hex format).

public String getIconShape ()

Gets the shape style identifying the icon for the line.

Returns:

The icon shape.

public String getOutlineColor ()

Gets the color of the border around the line name.

Returns:

The line border color value (hex format).

public String getTextColor ()

Gets the text color that should get used when the line color is used as background color.

Returns:

The text color value (hex format).

public int hashCode ()

For documentation, see java.lang.Object