Description
The HTML5 specification on the path commands indicates that most of them should "ensure that there is a subpath" for the first coordinate, which basically means insert an implicit moveTo(that coordinate) if there are no subpaths. The methods on the FX Canvas GraphicsContext object throw an exception instead.
Attachments
Issue Links
- duplicates
-
JDK-8096486 FX Canvas does not allow missing initial moveto commands (which HTML5 Canvas allows)
- Closed
- relates to
-
JDK-8095168 HTML5 canvas doesn't work properly on MacOS
- Closed
-
JDK-8097218 Consolidate/document handling of null values in javafx.scene.canvas.GraphicsContext
- Resolved