-
- All Implemented Interfaces:
public interface ThemeControllerControls theme behavior on the map view.
Access from the map view controller registry after the view is ready.
-
-
Method Summary
Modifier and Type Method Description abstract UnitloadStyleSheet(String stylePath)Loads a new style sheet from the configuration resource path. abstract UnitsetTextScale(Float scale)Set text scale factor abstract BooleansetTimeOfDay(Float timeOfDay)sets the time of day to the map abstract FloatgetTimeOfDay()gets the current time of the day for the view in the engine -
-
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
-
-
-
-