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

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8u20
    • Component/s: javafx
    • Labels:
      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

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported: