Package 

Interface ThemeController

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract void loadStyleSheet(@NonNull() Array<byte> styleSheetByte) load new style sheet from styleSheetByte
      abstract void setTextScale(float scale) Set text scale factor
      abstract boolean setTimeOfDay(float timeOfDay) * sets the time of day to the map
      abstract float getTimeOfDay() * gets the current time of the day for the view in the engine
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • loadStyleSheet

         abstract void loadStyleSheet(@NonNull() Array<byte> styleSheetByte)

        load new style sheet from styleSheetByte

        Parameters:
        styleSheetByte - the tss file byte array
      • setTextScale

         abstract void setTextScale(float scale)

        Set text scale factor

        Parameters:
        scale - default is 1.0f, the value range [0.5, 2.
      • setTimeOfDay

         abstract boolean setTimeOfDay(float timeOfDay)

        * sets the time of day to the map

        Parameters:
        timeOfDay - 0 is day, 1 is night and any value between is a shade between white and black
      • getTimeOfDay

         abstract float getTimeOfDay()

        * gets the current time of the day for the view in the engine