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

Error in painting of moved Text with not null stroke

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 7u6
    • 7u6
    • javafx
    • None
    • OS: Windows 7
      FX: 2.2.0-beta-b07

      Please take a look ate the attached screen-shot & simple test.

      The difference with the normal text usage is:
              final Text txt = new Text(200, 200, "JavaFX");
      > txt.setStrokeWidth(4);
      > txt.setStroke(Color.BLACK);

      In this case text bound is calculated incorrectly and animation paints with errors.

        1. MoveTextWithStroke.png
          44 kB
          Taras Ledkov
        2. MoveTextWithStrokeTest.java
          2 kB
          Taras Ledkov

            prr Philip Race
            tledkov Taras Ledkov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: