Class Color

    • Constructor Detail

      • Color

        public Color​(String color)
        Constructs with a string color.
      • Color

        public Color​(LinearGradient color)
        Constructs with a linear gradient color.
      • Color

        public Color​(RadialGradient color)
        Constructs with a radial gradient color.
    • Method Detail

      • setColor

        public void setColor​(String color)
        Sets the color with string format.
        Parameters:
        color -
      • setColor

        public void setColor​(LinearGradient linear)
        Sets the color with linear gradient format.
        Parameters:
        linear -
      • setColor

        public void setColor​(RadialGradient radial)
        Sets the color with radial gradient format.
        Parameters:
        radial -
      • stringValue

        public String stringValue()
        Returns the string format's color, if any.
      • linearValue

        public LinearGradient linearValue()
        Returns the linear gradient format's color, if any.
      • radialValue

        public RadialGradient radialValue()
        Returns the radial gradient format's color, if any.