Class VenueGeometryStyle

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

public final class VenueGeometryStyle extends NativeBase

Represents a style of the VenueGeometry.

  • Constructor Details

    • VenueGeometryStyle

      public VenueGeometryStyle(@NonNull Color mainColor, @NonNull Color outlineColor, float outlineWidth)

      Creates a custom style with specific parameters.

      Parameters:
      mainColor -

      The main color.

      outlineColor -

      The outline color.

      outlineWidth -

      The outline width.

  • Method Details

    • getMainColor

      @NonNull public Color getMainColor()

      Gets the main color for this style.

      Returns:

      The main color.

    • getOutlineColor

      @NonNull public Color getOutlineColor()

      Gets an outline color for this style.

      Returns:

      The outline color.

    • getOutlineWidth

      public float getOutlineWidth()

      Gets an outline width for this style.

      Returns:

      The outline width.

    • getLabelStyleName

      @Nullable public String getLabelStyleName()

      Gets the label style name.

      Defaults to`null, if a label style name has not been set for this style.

      Returns:

      The label style name.