VenueLabelStyle (API Reference)
Package com.here.sdk.venue.style
Class VenueLabelStyle
java.lang.Object
com.here.NativeBase
com.here.sdk.venue.style.VenueLabelStyle
Represents a style of the label.
-
Constructor Summary
ConstructorsConstructorDescriptionVenueLabelStyle(Color fillColor, Color outlineColor, float outlineWidth, int maxFont) Creates a custom label style with specific parameters. -
Method Summary
Modifier and TypeMethodDescriptionGets a fill color for this label style.intGets a maximum font size for this label style.Gets an outline color.floatGets an outline width for this label style.
-
Constructor Details
-
VenueLabelStyle
public VenueLabelStyle(@NonNull Color fillColor, @NonNull Color outlineColor, float outlineWidth, int maxFont) Creates a custom label style with specific parameters.
- Parameters:
fillColor-The fill color.
outlineColor-The outline color.
outlineWidth-The width color.
maxFont-The max font.
-
-
Method Details
-
getMaxFont
public int getMaxFont()Gets a maximum font size for this label style.
- Returns:
The maximum font size for this label style.
-
getFillColor
Gets a fill color for this label style.
- Returns:
The fill color for this label style.
-
getOutlineColor
Gets an outline color.
Defaults to
nullif an outline color has not been set for this label style.- Returns:
The outline color.
-
getOutlineWidth
public float getOutlineWidth()Gets an outline width for this label style.
- Returns:
The outline width for this label style.
-