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

javafx.scene.shape.Path percentageAtLength and pointAtPercent

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 8u11
    • Fix Version/s: tbd
    • Component/s: javafx
    • Labels:

      Description

      I am missing a feature where I easily can get points along a path given a percentage.

      Similar functionality is available in QPainterPath of the Qt-toolkit:
      http://qt-project.org/doc/qt-4.8/qpainterpath.html#percentAtLength
      http://qt-project.org/doc/qt-4.8/qpainterpath.html#pointAtPercent

      The Qt-implementation has a drawback since the step length along the path is not necessarily constant for a given percentage when the path contains several segments.

      This page is useful for Bézier curve mathematics: http://pomax.github.io/bezierinfo/

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            duke J. Duke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Imported: