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

Add stroke positioning (Inside,Outside,Centered)

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P2 P2
    • fx2.0
    • None
    • javafx

      We should be able to choose if a stroke is OUTSIDE, INSIDE or CENTERED on the shape. Java2D draws all strokes CENTERED so that is what we have in JavaFX we need the ability to choose OUTSIDE or INSIDE as well.

      This is needed for 2 reasons:
           1) to maintain fidelity of exported graphics from Illustrator
           2) UI Control skins need this to be able to recreate the Nimbus Look using strokes.

        1. StrokeTest.fx
          4 kB
        2. Picture 20.png
          Picture 20.png
          8 kB
        3. Picture 18.png
          Picture 18.png
          10 kB
        4. EllipseAspectTest.fx
          3 kB

            flar Jim Graham
            jasper Jasper Potts (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:

                Estimated:
                Original Estimate - 2 days
                2d
                Remaining:
                Remaining Estimate - 2 days
                2d
                Logged:
                Time Spent - Not Specified
                Not Specified