Class Light

  • Direct Known Subclasses:
    Light.Distant, Light.Point


    public abstract class Light
    extends Object
    The abstract base class for all light implementations.
    Since:
    JavaFX 2.0
    • Constructor Detail

      • Light

        protected Light​()
        Creates a new Light.
    • Method Detail

      • setColor

        public final void setColor​(Color value)
        Sets the value of the property color.
        Property description:
        The color of the light source.
               Min: n/a
               Max: n/a
           Default: Color.WHITE
          Identity: n/a
         
        Default value:
        WHITE
      • getColor

        public final Color getColor​()
        Gets the value of the property color.
        Property description:
        The color of the light source.
               Min: n/a
               Max: n/a
           Default: Color.WHITE
          Identity: n/a
         
        Default value:
        WHITE