Class VenueLabelStyle

java.lang.Object
com.here.NativeBase
com.here.sdk.venue.style.VenueLabelStyle

public final class VenueLabelStyle extends NativeBase

Represents a style of the label.

  • 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

      @NonNull public Color getFillColor()

      Gets a fill color for this label style.

      Returns:

      The fill color for this label style.

    • getOutlineColor

      @Nullable public Color getOutlineColor()

      Gets an outline color.

      Defaults to null if 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.