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

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

    XMLWordPrintable

Details

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

    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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                Imported: