Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P4
-
Resolution: Duplicate
-
Affects Version/s: 8, 9
-
Fix Version/s: None
-
Component/s: javafx
-
Subcomponent:
-
CPU:generic
-
OS:generic
Description
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.
Attachments
Issue Links
- duplicates
-
JDK-8188314 Fix typos in FX API docs
-
- Resolved
-