Package javafx.scene

Class PointLight

All Implemented Interfaces:
Styleable, EventTarget

public class PointLight
extends LightBase
Defines a point light source object. A light source that has a fixed point in space and radiates light equally in all directions away from itself.
Since:
JavaFX 8.0
  • Constructor Details

    • PointLight

      public PointLight()
      Creates a new instance of PointLight class with a default Color.WHITE light source.
    • PointLight

      public PointLight​(Color color)
      Creates a new instance of PointLight class using the specified color.
      Parameters:
      color - the color of the light source