-
- All Implemented Interfaces:
public interface ThemeController
-
-
Method Summary
Modifier and Type Method Description abstract Unit
loadStyleSheet(String stylePath)
Loads a new style sheet from the configuration resource path. abstract Unit
setTextScale(Float scale)
Set text scale factor abstract Boolean
setTimeOfDay(Float timeOfDay)
abstract Float
getTimeOfDay()
-
-
Method Detail
-
loadStyleSheet
abstract Unit loadStyleSheet(String stylePath)
Loads a new style sheet from the configuration resource path.
- Parameters:
stylePath
- The path to the TSS (Theme Style Sheet) file within the Atlas resource, it is an relative path(e.g.
-
setTextScale
abstract Unit setTextScale(Float scale)
Set text scale factor
- Parameters:
scale
- default is 1.
-
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
-
-
-
-