Class RenderTheme

  • All Implemented Interfaces:
    org.oscim.theme.IRenderTheme

    public class RenderTheme
    extends java.lang.Object
    implements org.oscim.theme.IRenderTheme
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.oscim.theme.IRenderTheme

        org.oscim.theme.IRenderTheme.ThemeException
    • Constructor Summary

      Constructors 
      Constructor Description
      RenderTheme()  
    • Constructor Detail

      • RenderTheme

        public RenderTheme()
    • 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:
        matchElement in interface org.oscim.theme.IRenderTheme
      • color

        public static int color​(io.jeo.map.RGB rgb)
      • dispose

        public void dispose()
        Specified by:
        dispose in interface org.oscim.theme.IRenderTheme
      • getLevels

        public int getLevels()
        Specified by:
        getLevels in interface org.oscim.theme.IRenderTheme
      • getMapBackground

        public int getMapBackground()
        Specified by:
        getMapBackground in interface org.oscim.theme.IRenderTheme
      • isMapsforgeTheme

        public boolean isMapsforgeTheme()
        Specified by:
        isMapsforgeTheme in interface org.oscim.theme.IRenderTheme
      • scaleTextSize

        public void scaleTextSize​(float scaleFactor)
        Specified by:
        scaleTextSize in interface org.oscim.theme.IRenderTheme
      • transformBackwardKey

        public java.lang.String transformBackwardKey​(java.lang.String key)
        Specified by:
        transformBackwardKey in interface org.oscim.theme.IRenderTheme
      • transformForwardKey

        public java.lang.String transformForwardKey​(java.lang.String key)
        Specified by:
        transformForwardKey in interface org.oscim.theme.IRenderTheme
      • transformBackwardTag

        public org.oscim.core.Tag transformBackwardTag​(org.oscim.core.Tag tag)
        Specified by:
        transformBackwardTag in interface org.oscim.theme.IRenderTheme
      • transformForwardTag

        public org.oscim.core.Tag transformForwardTag​(org.oscim.core.Tag tag)
        Specified by:
        transformForwardTag in interface org.oscim.theme.IRenderTheme
      • updateStyles

        public void updateStyles()
        Specified by:
        updateStyles in interface org.oscim.theme.IRenderTheme
      • main

        public static void main​(java.lang.String[] args)