Class AbstractGraticuleLayer

    • Method Detail

      • isDrawGraticule

        public boolean isDrawGraticule​(java.lang.String key)
        Returns whether or not graticule lines will be rendered.
        Parameters:
        key - the rendering parameters key.
        Returns:
        true if graticule lines will be rendered; false otherwise.
      • setDrawGraticule

        public void setDrawGraticule​(boolean drawGraticule,
                                     java.lang.String key)
        Sets whether or not graticule lines will be rendered.
        Parameters:
        drawGraticule - true to render graticule lines; false to disable rendering.
        key - the rendering parameters key.
      • getGraticuleLineColor

        public Color getGraticuleLineColor​(java.lang.String key)
        Returns the graticule line Color.
        Parameters:
        key - the rendering parameters key.
        Returns:
        Color used to render graticule lines.
      • setGraticuleLineColor

        public void setGraticuleLineColor​(Color color,
                                          java.lang.String key)
        Sets the graticule line Color.
        Parameters:
        color - Color that will be used to render graticule lines.
        key - the rendering parameters key.
      • getGraticuleLineWidth

        public double getGraticuleLineWidth​(java.lang.String key)
        Returns the graticule line width.
        Parameters:
        key - the rendering parameters key.
        Returns:
        width of the graticule lines.
      • setGraticuleLineWidth

        public void setGraticuleLineWidth​(double lineWidth,
                                          java.lang.String key)
        Sets the graticule line width.
        Parameters:
        lineWidth - width of the graticule lines.
        key - the rendering parameters key.
      • isDrawLabels

        public boolean isDrawLabels​(java.lang.String key)
        Returns whether or not graticule labels will be rendered.
        Parameters:
        key - the rendering parameters key.
        Returns:
        true if graticule labels will be rendered; false otherwise.
      • setDrawLabels

        public void setDrawLabels​(boolean drawLabels,
                                  java.lang.String key)
        Sets whether or not graticule labels will be rendered.
        Parameters:
        drawLabels - true to render graticule labels; false to disable rendering.
        key - the rendering parameters key.
      • getLabelColor

        public Color getLabelColor​(java.lang.String key)
        Returns the graticule label Color.
        Parameters:
        key - the rendering parameters key.
        Returns:
        Color used to render graticule labels.
      • setLabelColor

        public void setLabelColor​(Color color,
                                  java.lang.String key)
        Sets the graticule label Color.
        Parameters:
        color - Color that will be used to render graticule labels.
        key - the rendering parameters key.
      • getLabelTypeface

        public android.graphics.Typeface getLabelTypeface​(java.lang.String key)
        Returns the Typeface used for graticule labels.
        Parameters:
        key - the rendering parameters key.
        Returns:
        Typeface used to render graticule labels.
      • setLabelTypeface

        public void setLabelTypeface​(android.graphics.Typeface typeface,
                                     java.lang.String key)
        Sets the Typeface used for graticule labels.
        Parameters:
        typeface - Typeface that will be used to render graticule labels.
        key - the rendering parameters key.
      • getLabelSize

        public java.lang.Float getLabelSize​(java.lang.String key)
        Returns the Size used for graticule labels.
        Parameters:
        key - the rendering parameters key.
        Returns:
        Size used to render graticule labels.
      • setLabelSize

        public void setLabelSize​(java.lang.Float size,
                                 java.lang.String key)
        Sets the Size used for graticule labels.
        Parameters:
        size - Size that will be used to render graticule labels.
        key - the rendering parameters key.