Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8095947

[Canvas] FX Canvas node does not allow path specifications with missing initial movetos

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8u20
    • 8
    • javafx
    • None

      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.

            flar Jim Graham
            flar Jim Graham
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: