HERE Android SDK Developer's Guide

StyleSettings

The class StyleSettings is a member of com.here.android.mpa.venues3d .

Class Summary

public class StyleSettings

extends java.lang.Object

Defines style settings for venue and space objects.

[For complete information, see the section Class Details]

See also:

RoutingController

Constructor Summary

Table 1. Constructors in StyleSettings
Constructors

StyleSettings ()

Constructs a StyleSettings object.

Method Summary

Table 2. Methods in StyleSettings
Methods

public Integer getFillColor ()

Returns the fill color of the object if it's specified or null otherwise.

public Integer getLabelFillColor ()

Returns the fill color of the label text of the object if it's specified or null otherwise.

public Image getLabelImage ()

Returns the image which is shown with the label of the object.

public String getLabelName ()

Returns the name which is shown in the label of the object.

public Integer getLabelOutlineColor ()

Returns the outline color of the label text of the object if it's specified or null otherwise.

public Integer getOutlineColor ()

Returns the outline color of the object if it's specified or null otherwise.

public Integer getSelectedFillColor ()

Returns the fill color of the object in the selected state if it's specified or null otherwise.

public Integer getSelectedOutlineColor ()

Returns the outline color of the object in the selected state if it's specified or null otherwise.

public void setFillColor (Integer color)

Sets the fill color of the object.

public void setLabelFillColor (Integer color)

Sets the fill color of the label text of the object.

public void setLabelImage (Image image)

Sets the image which is shown with the label of the object.

public void setLabelName (String name)

Sets the name which is shown in the label of the object.

public void setLabelOutlineColor (Integer color)

Sets the outline color of the label text of the object.

public void setOutlineColor (Integer color)

Sets the outline color of the object.

public void setSelectedFillColor (Integer color)

Sets the fill color of the object in the selected state.

public void setSelectedOutlineColor (Integer color)

Sets the outline color of the object in the selected state.

Class Details

Defines style settings for venue and space objects.

See also:

RoutingController

Constructor Details

StyleSettings ()

Constructs a StyleSettings object.

Method Details

public Integer getFillColor ()

Returns the fill color of the object if it's specified or null otherwise.

Returns:

A color as 32-bit Integer. Format is (in hex): 0xAARRGGBB.

See also:

setFillColor(Integer)

public Integer getLabelFillColor ()

Returns the fill color of the label text of the object if it's specified or null otherwise.

Returns:

A color as 32-bit Integer. Format is (in hex): 0xAARRGGBB.

See also:

setLabelFillColor(Integer)

public Image getLabelImage ()

Returns the image which is shown with the label of the object.

Returns:

An Image which is shown with the label of the object.

See also:

setLabelImage(Image)

public String getLabelName ()

Returns the name which is shown in the label of the object.

Returns:

A String which is shown in the label of the object.

See also:

setLabelName(String)

public Integer getLabelOutlineColor ()

Returns the outline color of the label text of the object if it's specified or null otherwise.

Returns:

A color as 32-bit Integer. Format is (in hex): 0xAARRGGBB.

See also:

setLabelOutlineColor(Integer)

public Integer getOutlineColor ()

Returns the outline color of the object if it's specified or null otherwise.

Returns:

A color as 32-bit Integer. Format is (in hex): 0xAARRGGBB.

See also:

setOutlineColor(Integer)

public Integer getSelectedFillColor ()

Returns the fill color of the object in the selected state if it's specified or null otherwise.

Returns:

A color as 32-bit integer. Format is (in hex): 0xAARRGGBB.

See also:

setSelectedFillColor(Integer)

public Integer getSelectedOutlineColor ()

Returns the outline color of the object in the selected state if it's specified or null otherwise.

Returns:

A color as 32-bit Integer. Format is (in hex): 0xAARRGGBB.

See also:

setSelectedOutlineColor(Integer)

public void setFillColor (Integer color)

Sets the fill color of the object. A color is 32-bit Integer or null if it's not specified.

Parameters:

  • color

    A color as 32-bit Integer. Format is (in hex): 0xAARRGGBB.

See also:

getFillColor()

public void setLabelFillColor (Integer color)

Sets the fill color of the label text of the object. A color is 32-bit Integer or null if it's not specified.

Parameters:

  • color

    A color as 32-bit Integer. Format is (in hex): 0xAARRGGBB.

See also:

getLabelFillColor()

public void setLabelImage (Image image)

Sets the image which is shown with the label of the object.

Parameters:

  • image

    A Image which is shown with the label of the object.

See also:

getLabelImage()

public void setLabelName (String name)

Sets the name which is shown in the label of the object.

Parameters:

  • name

    A String which is shown in the label of the object.

See also:

getLabelName()

public void setLabelOutlineColor (Integer color)

Sets the outline color of the label text of the object. A color is 32-bit Integer or null if it's not specified.

Parameters:

  • color

    A color as 32-bit Integer. Format is (in hex): 0xAARRGGBB.

See also:

getLabelOutlineColor()

public void setOutlineColor (Integer color)

Sets the outline color of the object. A color is 32-bit Integer or null if it's not specified.

Parameters:

  • color

    A color as 32-bit Integer. Format is (in hex): 0xAARRGGBB.

See also:

getOutlineColor()

public void setSelectedFillColor (Integer color)

Sets the fill color of the object in the selected state. A color is 32-bit Integer or null if it's not specified.

Parameters:

  • color

    A color as 32-bit Integer. Format is (in hex): 0xAARRGGBB.

See also:

getSelectedFillColor()

public void setSelectedOutlineColor (Integer color)

Sets the outline color of the object in the selected state. A color is 32-bit Integer or null if it's not specified.

Parameters:

  • color

    A color as 32-bit Integer. Format is (in hex): 0xAARRGGBB.

See also:

getSelectedOutlineColor()