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

javafx.scene.shape.Path percentageAtLength and pointAtPercent

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 8u11
    • javafx

      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/

            Unassigned Unassigned
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Imported: