Class RadialLinearPointLabels

  • All Implemented Interfaces:
    Serializable

    public class RadialLinearPointLabels
    extends Object
    implements Serializable
    Used to configure the point labels that are shown on the perimeter of the scale.
    See Also:
    Serialized Form
    • Constructor Detail

      • RadialLinearPointLabels

        public RadialLinearPointLabels()
    • Method Detail

      • getFontColor

        public Object getFontColor()
        Gets the fontColor
        Returns:
        fontColor
      • setFontColor

        public void setFontColor​(Object fontColor)
        Sets the fontColor
        Parameters:
        fontColor - Font color for point labels.
      • getFontFamily

        public String getFontFamily()
        Gets the fontFamily
        Returns:
        fontFamily
      • setFontFamily

        public void setFontFamily​(String fontFamily)
        Sets the fontFamily
        Parameters:
        fontFamily - Font family to use when rendering labels.
      • getFontSize

        public Number getFontSize()
        Gets the fontSize
        Returns:
        fontSize
      • setFontSize

        public void setFontSize​(Number fontSize)
        Sets the fontSize
        Parameters:
        fontSize - font size in pixels
      • getFontStyle

        public String getFontStyle()
        Gets the fontStyle
        Returns:
        fontStyle
      • setFontStyle

        public void setFontStyle​(String fontStyle)
        Sets the fontStyle
        Parameters:
        fontStyle - Font style to use when rendering point labels.
      • encode

        public String encode()
                      throws IOException
        Write the options of point labels on radial linear type
        Returns:
        options as JSON object
        Throws:
        IOException - If an I/O error occurs