-
- All Implemented Interfaces:
public interface ThemeController
-
-
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 -
-
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
-
-
-
-