-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
8, 9
-
generic
-
generic
FULL PRODUCT VERSION :
A DESCRIPTION OF THE PROBLEM :
There is a typo in the example of class Stop:
LinearGradient lg = new LinearGradient(0, 0, 1, 0, true, CycleMethod.No_CYCLE, stops);
CycleMethod.No_CYCLE should be changed to CycleMethod.NO_CYCLE
Link to the javadoc:
https://docs.oracle.com/javase/9/docs/api/javafx/scene/paint/Stop.html
REPRODUCIBILITY :
This bug can be reproduced always.
A DESCRIPTION OF THE PROBLEM :
There is a typo in the example of class Stop:
LinearGradient lg = new LinearGradient(0, 0, 1, 0, true, CycleMethod.No_CYCLE, stops);
CycleMethod.No_CYCLE should be changed to CycleMethod.NO_CYCLE
Link to the javadoc:
https://docs.oracle.com/javase/9/docs/api/javafx/scene/paint/Stop.html
REPRODUCIBILITY :
This bug can be reproduced always.
- duplicates
-
JDK-8188314 Fix typos in FX API docs
-
- Resolved
-