public class RenderTheme
extends java.lang.Object
implements org.oscim.theme.IRenderTheme
| Constructor and Description |
|---|
RenderTheme() |
| Modifier and Type | Method and Description |
|---|---|
static int |
color(io.jeo.map.RGB rgb) |
void |
dispose() |
java.lang.String |
formatRule(io.jeo.map.Rule r,
int indent) |
int |
getLevels() |
int |
getMapBackground() |
boolean |
isMapsforgeTheme() |
static void |
main(java.lang.String[] args) |
org.oscim.theme.styles.RenderStyle[] |
matchElement(org.oscim.core.GeometryBuffer.GeometryType type,
org.oscim.core.TagSet tags,
int zoomLevel) |
void |
scaleTextSize(float scaleFactor) |
java.lang.String |
transformBackwardKey(java.lang.String key) |
org.oscim.core.Tag |
transformBackwardTag(org.oscim.core.Tag tag) |
java.lang.String |
transformForwardKey(java.lang.String key) |
org.oscim.core.Tag |
transformForwardTag(org.oscim.core.Tag tag) |
void |
updateStyles() |
public java.lang.String formatRule(io.jeo.map.Rule r,
int indent)
public org.oscim.theme.styles.RenderStyle[] matchElement(org.oscim.core.GeometryBuffer.GeometryType type,
org.oscim.core.TagSet tags,
int zoomLevel)
matchElement in interface org.oscim.theme.IRenderThemepublic static int color(io.jeo.map.RGB rgb)
public void dispose()
dispose in interface org.oscim.theme.IRenderThemepublic int getLevels()
getLevels in interface org.oscim.theme.IRenderThemepublic int getMapBackground()
getMapBackground in interface org.oscim.theme.IRenderThemepublic boolean isMapsforgeTheme()
isMapsforgeTheme in interface org.oscim.theme.IRenderThemepublic void scaleTextSize(float scaleFactor)
scaleTextSize in interface org.oscim.theme.IRenderThemepublic java.lang.String transformBackwardKey(java.lang.String key)
transformBackwardKey in interface org.oscim.theme.IRenderThemepublic java.lang.String transformForwardKey(java.lang.String key)
transformForwardKey in interface org.oscim.theme.IRenderThemepublic org.oscim.core.Tag transformBackwardTag(org.oscim.core.Tag tag)
transformBackwardTag in interface org.oscim.theme.IRenderThemepublic org.oscim.core.Tag transformForwardTag(org.oscim.core.Tag tag)
transformForwardTag in interface org.oscim.theme.IRenderThemepublic void updateStyles()
updateStyles in interface org.oscim.theme.IRenderThemepublic static void main(java.lang.String[] args)