Class ElementsArc

    • Constructor Detail

      • ElementsArc

        public ElementsArc()
    • Method Detail

      • getBackgroundColor

        public String getBackgroundColor()
        Gets the backgroundColor
        Returns:
        backgroundColor
      • setBackgroundColor

        public void setBackgroundColor​(String backgroundColor)
        Sets the backgroundColor
        Parameters:
        backgroundColor - Arc fill color.
      • getBorderColor

        public String getBorderColor()
        Gets the borderColor
        Returns:
        borderColor
      • setBorderColor

        public void setBorderColor​(String borderColor)
        Sets the borderColor
        Parameters:
        borderColor - Arc stroke color.
      • getBorderWidth

        public Number getBorderWidth()
        Gets the borderWidth
        Returns:
        borderWidth
      • setBorderWidth

        public void setBorderWidth​(Number borderWidth)
        Sets the borderWidth
        Parameters:
        borderWidth - Arc stroke width.
      • encode

        public String encode()
                      throws IOException
        Write the arc options of Elements
        Returns:
        options as JSON object
        Throws:
        IOException - If an I/O error occurs