RenderThemeBuilder class
A builder for {@link RenderTheme} instances.
Constructors
Properties
- baseStrokeWidth ↔ double
-
The rendertheme can set the base stroke with factor
getter/setter pair
- baseTextSize ↔ double
-
The rendertheme can set the base text size factor
getter/setter pair
- forHash ↔ String
-
getter/setter pair
- hasBackgroundOutside ↔ bool?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- mapBackground ↔ int?
-
getter/setter pair
- mapBackgroundOutside ↔ int?
-
getter/setter pair
- maxLevel ↔ int
-
getter/setter pair
-
ruleBuilderStack
→ List<
RuleBuilder> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- version ↔ int
-
getter/setter pair
Methods
-
build(
) → RenderTheme - @return a new {@code RenderTheme} instance.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parseXml(
DisplayModel displayModel, String content) → void - Parses a given xml string and creates the renderinstruction-structure. The renderinstruction classes serves two purposes: On the one hand to parse the xml and create the tree structure and on the other hand to render ways and pois appropriately and draw the respective content.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- BASE_STROKE_WIDTH → String
-
final
- BASE_TEXT_SIZE → String
-
final
- MAP_BACKGROUND → String
-
final
- MAP_BACKGROUND_OUTSIDE → String
-
final
- RENDER_THEME_VERSION → int
-
final
- VERSION → String
-
final
- XMLNS → String
-
final
- XMLNS_XSI → String
-
final
- XSI_SCHEMALOCATION → String
-
final
Static Methods
-
create(
DisplayModel displayModel, String filename) → Future< RenderTheme> - Builds and returns a rendertheme by loading a rendertheme-file. This is a convienience-function. If desired we can also implement some caching so that we do not need to parse the same file over and over again.