Duplicate :
|
|
Relates :
|
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.
|