Class Symbol

    • Constructor Detail

      • Symbol

        public Symbol​(org.mapsforge.core.graphics.GraphicFactory graphicFactory,
                      DisplayModel displayModel,
                      java.lang.String elementName,
                      org.xmlpull.v1.XmlPullParser pullParser,
                      java.lang.String relativePathPrefix,
                      XmlThemeResourceProvider resourceProvider)
               throws java.io.IOException,
                      org.xmlpull.v1.XmlPullParserException
        Throws:
        java.io.IOException
        org.xmlpull.v1.XmlPullParserException
    • Method Detail

      • getBitmap

        public org.mapsforge.core.graphics.Bitmap getBitmap()
      • getBoundary

        public org.mapsforge.core.model.Rectangle getBoundary()
      • getId

        public java.lang.String getId()
      • scaleStrokeWidth

        public void scaleStrokeWidth​(float scaleFactor,
                                     byte zoomLevel)
        Description copied from class: RenderInstruction
        Scales the stroke width of this RenderInstruction by the given factor.
        Specified by:
        scaleStrokeWidth in class RenderInstruction
        Parameters:
        scaleFactor - the factor by which the stroke width should be scaled.
      • scaleTextSize

        public void scaleTextSize​(float scaleFactor,
                                  byte zoomLevel)
        Description copied from class: RenderInstruction
        Scales the text size of this RenderInstruction by the given factor.
        Specified by:
        scaleTextSize in class RenderInstruction
        Parameters:
        scaleFactor - the factor by which the text size should be scaled.