Package org.oscim.theme.carto
Class RenderTheme
- java.lang.Object
-
- org.oscim.theme.carto.RenderTheme
-
- All Implemented Interfaces:
org.oscim.theme.IRenderTheme
public class RenderTheme extends java.lang.Object implements org.oscim.theme.IRenderTheme
-
-
Constructor Summary
Constructors Constructor Description RenderTheme()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static intcolor(io.jeo.map.RGB rgb)voiddispose()java.lang.StringformatRule(io.jeo.map.Rule r, int indent)intgetLevels()intgetMapBackground()booleanisMapsforgeTheme()static voidmain(java.lang.String[] args)org.oscim.theme.styles.RenderStyle[]matchElement(org.oscim.core.GeometryBuffer.GeometryType type, org.oscim.core.TagSet tags, int zoomLevel)voidscaleTextSize(float scaleFactor)java.lang.StringtransformBackwardKey(java.lang.String key)org.oscim.core.TagtransformBackwardTag(org.oscim.core.Tag tag)java.lang.StringtransformForwardKey(java.lang.String key)org.oscim.core.TagtransformForwardTag(org.oscim.core.Tag tag)voidupdateStyles()
-
-
-
Method Detail
-
formatRule
public java.lang.String formatRule(io.jeo.map.Rule r, int indent)
-
matchElement
public org.oscim.theme.styles.RenderStyle[] matchElement(org.oscim.core.GeometryBuffer.GeometryType type, org.oscim.core.TagSet tags, int zoomLevel)- Specified by:
matchElementin interfaceorg.oscim.theme.IRenderTheme
-
color
public static int color(io.jeo.map.RGB rgb)
-
dispose
public void dispose()
- Specified by:
disposein interfaceorg.oscim.theme.IRenderTheme
-
getLevels
public int getLevels()
- Specified by:
getLevelsin interfaceorg.oscim.theme.IRenderTheme
-
getMapBackground
public int getMapBackground()
- Specified by:
getMapBackgroundin interfaceorg.oscim.theme.IRenderTheme
-
isMapsforgeTheme
public boolean isMapsforgeTheme()
- Specified by:
isMapsforgeThemein interfaceorg.oscim.theme.IRenderTheme
-
scaleTextSize
public void scaleTextSize(float scaleFactor)
- Specified by:
scaleTextSizein interfaceorg.oscim.theme.IRenderTheme
-
transformBackwardKey
public java.lang.String transformBackwardKey(java.lang.String key)
- Specified by:
transformBackwardKeyin interfaceorg.oscim.theme.IRenderTheme
-
transformForwardKey
public java.lang.String transformForwardKey(java.lang.String key)
- Specified by:
transformForwardKeyin interfaceorg.oscim.theme.IRenderTheme
-
transformBackwardTag
public org.oscim.core.Tag transformBackwardTag(org.oscim.core.Tag tag)
- Specified by:
transformBackwardTagin interfaceorg.oscim.theme.IRenderTheme
-
transformForwardTag
public org.oscim.core.Tag transformForwardTag(org.oscim.core.Tag tag)
- Specified by:
transformForwardTagin interfaceorg.oscim.theme.IRenderTheme
-
updateStyles
public void updateStyles()
- Specified by:
updateStylesin interfaceorg.oscim.theme.IRenderTheme
-
main
public static void main(java.lang.String[] args)
-
-